Community Profile

photo

Wiqas Ahmad


Last seen: 3 mois il y a Actif depuis 2019

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


Why the legend shows error ?
I'm getting the following error with the code: figure; hold on [ax,h1,h2]=plotyy(distance,G.*(distance.^-2),distance,G); s...

environ un an il y a | 1 réponse | 0

0

réponse

Question


How to plot a function on a 3D sphere?
I want to plot the following function on a sphere to obtain these figures: My coded program is: clear all; close all; clc;...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to put the grid lines at the back of my figure?
I want to put the grid lines into the back of my plot, I have searched the previous answered questions but I'm unable to do so....

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


How can I add uncertainty to a data matrix?
I obtained a signal data by running a simulation with input parameters. Some of these inputs are h,a,r,fov as shown in the follo...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


How can I change the title of the subplots with forloop iteration?
I have 24 subplots as shown below. I want to give the title name (CB1000(m)) to the first 6 subplots in a row and then the next ...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to find minimum of a 3D function in a double for loop plotted on a slice?
I have 24 subplots of a 3D function (costf) plotted on a slice using two forloops,h and fov, as: The program is: figure cou...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


Why I see only the last value of my row vector in the workspace?
I have the following row vectors in my program: When I run my program, I see in the workspace only the last value of these r...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to plot cubic imagesc figure?
If I have four matrices, Height,a,CER and signal intensity, how can I plot them to get the following figure? The three variable...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to plot contour on imagesc for three variables?
I want to obtain the folllowing figure using the program mentioned below. The three variable red encircled can be placed as x,y,...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Question


Why the title tab from the editor is missing?
The title tab from my editor is missing as red encircled in the first (normal) image. The second image (below) shows my edit...

environ 2 ans il y a | 3 réponses | 0

3

réponses

Question


how to plot a function on a 3D sphere?
N0=100; r_med=[0.445 0.889 1.445 2]; sigma_g=7; N_ang=91; theta = (0:1:360)/180*pi; phi = (0:1:360)/180*pi; [x,y]=meshgrid...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to plot a 3D function?
I'm trying solve this problem for the last one year but unable to do so. Please if anyone can help me. I roughly code a progr...

plus de 2 ans il y a | 1 réponse | 0

0

réponse

Question


How to draw a sidebar in polar plotting?
How can I draw a sidebar (red encircled) with a polar plot as shown in figure. My program and figure are given below: clc; c...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


How can I write a syntax in eval function?
Is it possible to write the following syntax in eval function? If yes, please write it down I_para(i,:)=(((((sqrt(P12(i,indx)./...

plus de 2 ans il y a | 1 réponse | 0

0

réponse

Question


Adjust legend position outside the figure layout
I want to positioned the legend outside in the center of the figure. I have tried the northoutside, northeastoutside and posiito...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


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

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 3 ans il y a | 3 réponses | 0

3

réponses

Question


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

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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; %% ----------------------------...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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),...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 3 ans il y a | 1 réponse | 0

1

réponse

Charger plus