Community Profile

photo

Wiqas Ahmad


Last seen: Today Attivo dal 2019

Followers: 0   Following: 0

Statistiche

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


How to smooth the line curves in the plot?
I'm using the function "smooth" and ''abs'' to smooth the line curve (I_para) but can't acheive the smooth curves in the plot. I...

circa 7 ore fa | 2 risposte | 0

2

risposte

Domanda


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

oltre un anno fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 3 risposte | 0

3

risposte

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Carica altro