Last seen: 16 days ago Active since 2019

Followers: 0   Following: 0

#### Feeds

View by

Question

Why doesn't the figure show the text and fitting line?
Text in the left corner and fitting line is missing from my fiures, please make correction to my code: % Define heights, FOVs, ...

21 days ago | 1 answer | 0

### 1

Question

Want to check the program is technically right and work accurately?
I have two signals, T_para and T_per (5*17*20) loaded from directory, I coded this program to do the following tasks: Calculate...

2 months ago | 1 answer | 0

### 1

Question

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

5 months ago | 2 answers | 1

### 2

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

1 year ago | 0 answers | 0

### 0

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

2 years ago | 1 answer | 0

### 1

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

2 years ago | 1 answer | 0

### 1

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

2 years ago | 1 answer | 0

### 1

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

2 years ago | 1 answer | 0

### 1

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

2 years ago | 1 answer | 0

### 1

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

2 years ago | 1 answer | 0

### 1

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

2 years ago | 1 answer | 0

### 1

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

2 years ago | 1 answer | 0

### 1

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

2 years ago | 3 answers | 0

### 3

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

2 years ago | 1 answer | 0

### 1

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

2 years ago | 0 answers | 0

### 0

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

2 years ago | 1 answer | 0

### 1

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

2 years ago | 0 answers | 0

### 0

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

3 years ago | 1 answer | 0

### 1

Question

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 2 answers | 0

### 2

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

3 years ago | 2 answers | 0

### 2

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 3 answers | 0

### 3

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

Question

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

3 years ago | 1 answer | 0

### 1

Question

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

3 years ago | 1 answer | 0