提问


What is the alternate to eval function in a forloop?
EC = [0.0052 0.0104 0.0156 0.0234]; Reff =[4 8 12 16 20] for i=1:length(FOV) f(i)=figure(i); hold on for j = 1:...

3 years 前 | 1 个回答 | 0

1

个回答

提问


How to calculate standard deviation in double for loop?
for j = 1:length(EC) for k = 1:length(Reff) eval(['depri',num2str(j),num2str(k),'=','(depi',num2str(1),num2str(j),...

3 years 前 | 1 个回答 | 0

1

个回答

提问


How to show multiple lines in the legend?
The legend shows only one value of EC which is the last one as shown in fig, however my EC has 10 values and I'd lke to display ...

3 years 前 | 1 个回答 | 0

1

个回答

提问


How to induce loop index in the X-label also with changing label name at each iteration?
I have two programs saved in a seperate files, for instance a1.m and a2.m, and each program has the following structure. The var...

3 years 前 | 1 个回答 | 0

1

个回答

提问


How to Plot a function on 3D-sphere?
I want to plot the function P of the equation shown. I have to obtan the following figure. I have already obtained all the input...

3 years 前 | 1 个回答 | 0

1

个回答

提问


How to change the height of the subplots without changing x,y-positions and width?
I have plotted three subplots in one figure which appeared in the upper side of the main figure window as shown. The bottom of t...

3 years 前 | 1 个回答 | 0

1

个回答

提问


how can I show all of my data in the legend for each curve?
My plot has 10 curves which are according to the data of EC as shown in figure. However the legend displays only the last term i...

3 years 前 | 2 个回答 | 0

2

个回答

提问


Alternate form of eval function
How can I write these two syntaxes in alternate from? eval(['I',num2str(i),num2str(j),num2str(k),'=','getsiganl(filename1)',';...

3 years 前 | 2 个回答 | 0

2

个回答

提问


How to apply the loop index on the output (filename) of the sprintf function?
The program gives the following output variables in the workspace as shown in figure. I have three questions regarding the outpu...

3 years 前 | 1 个回答 | 0

1

个回答

提问


How to write a short syntax for the legend?
The legend in the plot shows seven lines is according to the length of EC in the program. I want to write one syntax for the leg...

3 years 前 | 1 个回答 | 0

1

个回答

提问


How can I give different colours not randomly to large number of lines in one plot?
The syntax in the code col=['r' 'y' 'b' 'g' 'k' 'c' 'm' 'k' '#D95319']; is related to the color of the lines in the plot which w...

4 years 前 | 1 个回答 | 1

1

个回答

提问


How can I display data in order in the legend?
I want to display the legend as; black dot as actual data, green dot as data fit and red line starting from PolyCurve4/mum and s...

4 years 前 | 1 个回答 | 0

1

个回答

提问


How to merge multiple plots into one?
I have obtained 17 figures from the program below but each figure is displayed seperately. I want to merge them all and plot the...

4 years 前 | 1 个回答 | 0

1

个回答

提问


How can I show all the plotted lines in the legend?
Hi, I have obtained the figure from a program as shown below. In general, the figure contains the actual data,data fit and four ...

4 years 前 | 1 个回答 | 0

1

个回答

提问


Data exceed the computer memory
Hi, I have obtained these curves from the mentioned program. I'd like to make the blue curve more smoother which can be done by ...

4 years 前 | 1 个回答 | 0

1

个回答

提问


Plot 3D EM waves
How can I plot this figure in matlab? I found some examples of EM plotting but axes were not shown there. I'd like also to ment...

5 years 前 | 2 个回答 | 0

2

个回答