# Wiqas Ahmad

**Statistics**

**MATLAB Answers**

**43** Questions

**0** Answers

RANK**30,720**

of 284,590

REPUTATION**1**

CONTRIBUTIONS

**43** Questions

**0** Answers

ANSWER ACCEPTANCE **
39.53%
**

VOTES RECEIVED**1**

RANK

of 19,217

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 137,344

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

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

11 months ago | 0 answers | 0

### 0

answersQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 3 answers | 0

### 3

answersQuestion

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

answerQuestion

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

answersQuestion

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

answerQuestion

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

answersQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

Why I cannot get accurate curves using for loops?

close all; clear all; clc; %% ------------------------------Program------------------------------------- z=2100:7.5:2242.5...

2 years ago | 1 answer | 0

### 1

answerQuestion

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 years ago | 2 answers | 0

### 2

answersQuestion

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

2 years ago | 2 answers | 0

### 2

answersQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 3 answers | 0

### 3

answersQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

How to change the colors of the plotted lines in for loop?

close all; clear all; clc; %% ------------------------------Program------------------------------------- z=2860:11:3135; FO...

2 years ago | 1 answer | 0

### 1

answerQuestion

Why the for-loop doesn't work here?

close all; clear all; clc; %% ------------------------------Program------------------------------------- z=2860:11:3135; FO...

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 1 answer | 0