Community Profile

photo

Wiqas Ahmad


Last seen: 13일 전 2019 이후 활성

Statistics

  • Thankful Level 2

배지보기

Content Feed

보기 기준

질문


Why I cannot get accurate curves using for loops?
close all; clear all; clc; %% ------------------------------Program------------------------------------- z=2100:7.5:2242.5...

약 2달 전 | 답변 수: 1 | 0

1

답변

질문


How can I run two loops at a time?
for i = 1:length(Reff) for j = 1:length(EC) ILP= getsignal([num2str(EC(j)),'\','1100','\',num2str(Reff(i)),'um\out_results...

약 2달 전 | 답변 수: 2 | 0

2

답변

질문


How can I change the width of a tile in a tiledlayout without changing its height?
I'd like to decrease the width of each tile so that it looks like a vertical rectangle instead of square with vertical axis long...

3달 전 | 답변 수: 2 | 0

2

답변

질문


How to adjust the position of a text on a plot?
I want to adjust the postion of the text S0=(1,1,0,0) and to put each in fron of a,b and c in the subplots. I also want to redue...

3달 전 | 답변 수: 1 | 0

1

답변

질문


How to write a character sequence for parallel symbol?
We use \perp to insert a perpendicular symbol "⊥" but I haven't found a charater sequence for the symbol parallel. How can we wr...

3달 전 | 답변 수: 3 | 0

3

답변

질문


How to plot a 3d function on a sphere?
I want to plot the following function on a sphere to obtain the figures below. The function is P11 and P12 are two row vecto...

4달 전 | 답변 수: 1 | 0

1

답변

질문


How to plot a function in spherical coordinates?
I want to plot the followig function in spherical corrdinates with alpha=0-pi, and beta=0-2*pi. P11 and P12 are row vectors in m...

4달 전 | 답변 수: 1 | 0

1

답변

질문


Why my plotting curves exceed the loop index?
Why I see three plotting curves while my loop index j runs twice? close all; clear all; clc; %% ----------------------------...

5달 전 | 답변 수: 2 | 0

2

답변

질문


How to apply for loop index on plotting?
I have plotted three figures (as shown) with the following program using two for loops, each having two curves blue and red defi...

5달 전 | 답변 수: 1 | 0

1

답변

질문


How to change the colors of the plotted lines in for loop?
close all; clear all; clc; %% ------------------------------Program------------------------------------- z=2860:11:3135; FO...

6달 전 | 답변 수: 1 | 0

1

답변

질문


Why the for-loop doesn't work here?
close all; clear all; clc; %% ------------------------------Program------------------------------------- z=2860:11:3135; FO...

6달 전 | 답변 수: 1 | 0

1

답변

질문


How can I put arrow heads on the plotted lines?
I want to put arrow heads on the blue lines u,v and w so that they represent as vectors. clear all; close all; clc; %% x=li...

6달 전 | 답변 수: 1 | 0

1

답변

질문


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:...

6달 전 | 답변 수: 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),...

6달 전 | 답변 수: 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 ...

6달 전 | 답변 수: 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...

7달 전 | 답변 수: 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...

7달 전 | 답변 수: 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...

7달 전 | 답변 수: 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...

7달 전 | 답변 수: 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)',';...

7달 전 | 답변 수: 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...

7달 전 | 답변 수: 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...

8달 전 | 답변 수: 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...

9달 전 | 답변 수: 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...

9달 전 | 답변 수: 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...

9달 전 | 답변 수: 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 ...

9달 전 | 답변 수: 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 ...

약 1년 전 | 답변 수: 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...

2년 이하 전 | 답변 수: 2 | 0

2

답변