Mos_bad
Followers: 0 Following: 0
Feeds
질문
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...
거의 4년 전 | 답변 수: 0 | 0
0
답변질문
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...
대략 4년 전 | 답변 수: 2 | 0
2
답변질문
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...
4년 초과 전 | 답변 수: 0 | 0
0
답변질문
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...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
4년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
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.
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 5년 전 | 답변 수: 0 | 0
0
답변질문
exponentially distributed random number
I want to generate exponentially distributed randm numbers (with mean=lambda) untill the summation of generated numbers is less ...
거의 5년 전 | 답변 수: 1 | 0
1
답변질문
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 ...
거의 5년 전 | 답변 수: 2 | 0
2
답변질문
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...
거의 5년 전 | 답변 수: 1 | 0
1
답변질문
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 ...
대략 5년 전 | 답변 수: 0 | 0
0
답변질문
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...
대략 5년 전 | 답변 수: 1 | 0
1
답변질문
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...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
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.
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
5년 초과 전 | 답변 수: 0 | 0
0
답변질문
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...
5년 초과 전 | 답변 수: 0 | 0
0
답변질문
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,...
거의 6년 전 | 답변 수: 2 | 0
2
답변질문
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 ...
대략 6년 전 | 답변 수: 2 | 0
2
답변질문
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...
대략 6년 전 | 답변 수: 0 | 0
0
답변질문
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 ...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
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...
6년 초과 전 | 답변 수: 0 | 0
0
답변질문
Subscripted assignment dimension mismatch
I got error 'Subscripted assignment dimension mismatch' for the following code: for i = 1 : 2 for k = 1: 4 ...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
6년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
거의 7년 전 | 답변 수: 0 | 0