# Mos_bad

**Statistics**

RANK**81,839**

of 244,285

REPUTATION**0**

CONTRIBUTIONS

**33** Questions

**1** Answer

ANSWER ACCEPTANCE **
42.42%
**

VOTES RECEIVED**0**

RANK

of 17,074

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Table Variable Name-dot indexing

I need to creat a table with the following variable names : A1 B1 C1 A2 B2 C2 A3 B3 C3 , ... An Bn Cn X Y Z A1 B1 C1 are Ta...

8 months ago | 0 answers | 0

### 0

answersQuestion

exponential fitting to limited data

Here is my data : y=[2.5648 1.2495 1.1663 1.0652 2.1537 1.3080 1.2624 1.2949] I want to fit an exponenti...

1 year ago | 2 answers | 0

### 2

answersQuestion

Plotting trigonometric, negative exponential functions

My question could be more related to math than Matlab, but since I want to plot them in matlab, I am asking it here. I attache...

1 year ago | 0 answers | 0

### 0

answersQuestion

Compare empirical CDF and lognormal CDF

I have a set of data that follows lognormal distribution. I'm trying to compare lognormal and empirical complementary CDF. How...

1 year ago | 1 answer | 0

### 1

answerQuestion

repeat the iteration with an error using try/catch

I wrote a nested for loop to exexcute a huge number of iterations. However, sometimes an error stops the program. I want to rep...

1 year ago | 2 answers | 0

### 2

answersQuestion

summation of two curves with different data points

I am having a hard time to plot the summation of the following curves as the numbers and values of data points of each curve (in...

1 year ago | 1 answer | 0

### 1

answerQuestion

shift horizontal histogram to right

I am trying to shift the entire histogram to right, i.e. at 0.04 instead of 0, without changing the xticks.

1 year ago | 1 answer | 0

### 1

answerQuestion

how to fit exceeding probability curve? (Hazard curve)

I want to fit a hazard curve (or exceedance= 1-CDF) to a set of raw data. Here is the code that I wrote. As you may see in the...

1 year ago | 0 answers | 0

### 0

answersQuestion

exponentially distributed random number

I want to generate exponentially distributed randm numbers (with mean=lambda) untill the summation of generated numbers is less ...

1 year ago | 1 answer | 0

### 1

answerQuestion

how to fit exponential distribution function on data?

The vector m follows the truncated exponential equation (F_M) and it is shown by solid black line in figure. I intend to fit an ...

1 year ago | 2 answers | 0

### 2

answersQuestion

Brace indexing is not supported for variables of this type

Mu_s and Mu_d are cell. This if statement is part of a function which is called inside of a main for loop. I got the following...

2 years ago | 1 answer | 0

### 1

answerQuestion

storing data from nested for loop

I'm having hard time to save RndmVarInput including IM, z50Final, Mat, and tYear, and scenario iteration number from the nested ...

2 years ago | 0 answers | 0

### 0

answersQuestion

storing function outputs from a nested for loop

I want to store function output through nested for loop. Here is the code: maxDisp_x=cell(Nrt,lhsN,Nsnro); for scenario=1:Nsnr...

2 years ago | 1 answer | 0

### 1

answerQuestion

x-axes are not coincident using multiple axes

I am using multipe axes using the code below. The top x-axis is not coincident as shown in attached file. ax2=axes('xaxislocat...

2 years ago | 1 answer | 0

### 1

answerQuestion

multiple logarithmic x-axes

I need to draw two plots with multiple logarithmic axes in the same figure. For clarification, I want two log-axes (one on top o...

2 years ago | 1 answer | 0

### 1

answerQuestion

split legend columns using Matlab 2017a

The plot includes four legends, I intend to use 2by2 legends due to space limitation. I am using Matlab 2017a version.

2 years ago | 1 answer | 0

### 1

answerQuestion

two different plot in the same 3D figure

x is normal random vector ranges from 0.05 to 1.2 and y varies from 0 to 22. I want to plot 2D PDF of x and y in the same figu...

2 years ago | 0 answers | 0

### 0

answersQuestion

numeric integration of datapoints

I have time (dt) acceleration (Acc) data points. I need to plot velocity (vel) and displacement (disp) vs time and also calculat...

2 years ago | 0 answers | 0

### 0

answersQuestion

generate n random number between two numbers follow exponential distribution

I need to generate n random number between a and b which follow the exponential distribution (In this perticular case a=0, b=75,...

2 years ago | 2 answers | 0

### 2

answersQuestion

How to fit a surface to 3D dta points

Please find the attached. I want to fit a surface to show the trends of the 3d data points but I got an error that 'Z must be a ...

3 years ago | 2 answers | 0

### 2

answersQuestion

how to fit a curve with the given trend to the limited data points

Please find the attached. <<https://www.mathworks.com/matlabcentral/answers/uploaded_files/131594/untitled.jpg>> I have pl...

3 years ago | 0 answers | 0

### 0

answersQuestion

Greek letter and subscript at the same time in axis label

I want to write x-axis label as (\Delta / H_B) but I could not. Delta is a greek letter and B is a subscription. please help me ...

3 years ago | 1 answer | 0

### 1

answerQuestion

issue with copying the figure to MS Word

I am using copy figure under edit button to copy figures from Matlab to MS Word. However, The legend and axis label font and ord...

3 years ago | 1 answer | 0

### 1

answerQuestion

HOW TO PLOT SMOOTH OR THEORETICAL CDF?

Attached is the plot of CDF based on the actual data. Also, I want to plot smooth(or theoretical) CDF in the same figure. To thi...

3 years ago | 0 answers | 0

### 0

answersQuestion

Subscripted assignment dimension mismatch

I got error 'Subscripted assignment dimension mismatch' for the following code: for i = 1 : 2 for k = 1: 4 ...

3 years ago | 1 answer | 0

### 1

answerQuestion

how to save dynamic file name

I want to save Force_y data as Force.mat in the directory of |./Output/THOutput/LHS(i)/GMID(k)| where |i| and |k| are dynamic in...

3 years ago | 1 answer | 0

### 1

answerQuestion

Using dir command but the files can not be returned

After running the code, fileNames1 has not been showing in Workspace (neither name nor value) and there is no error in the first...

3 years ago | 1 answer | 0

### 1

answerQuestion

How to save workspace variables and values a s binary file

I wrote a code and want to save all workspace's variables and their values as a .txt file or other formats as a binary file just...

3 years ago | 1 answer | 0

### 1

answerQuestion

cross product of two points

I am trying to do the cross product of the following two points but I got this error 'Subscript indices must either be real posi...

3 years ago | 2 answers | 0

### 2

answersQuestion

how to import text files in different subfolders with the same names?

There are main folder A First subfolders A1 to An Second subfolders A11 to A1m; A21 to A2m; .... ; An1 to Anm Third subf...

4 years ago | 0 answers | 0