Community Profile

# Mahmoud Abbas

Last seen: 6 mois il y a Actif depuis 2022

#### Content Feed

Afficher par

Question

showing contour values on plot
Hello, how can i show the contour values on the plot? f = @(x1,x2) exp(-0.05*x1)*sin(x1)+exp(-0.05*x2)*cos(x2); fcontour(f,[-1...

8 mois il y a | 1 réponse | 0

### 1

réponse

Question

How to increase number of contour lines in a plot?
Hello, could you help me make this plot have 20 controur lines and show their respective values on the plot f = @(x1,x2) (x1-...

8 mois il y a | 2 réponses | 0

### 2

réponses

Question

How to Revolve a 2D Profile and Make it's 3D Plot
Hello, i am trying to figure out how to revolve this profile around any axis (lets assume x=35) and make the plot in 3D. I found...

8 mois il y a | 1 réponse | 0

### 1

réponse

Question

3D Profile Extrude
Hello, could you help me make this code extrude this random profile into the z-axis and make the plot in 3D using mesh or surf? ...

8 mois il y a | 1 réponse | 0

### 1

réponse

Question

Extruding a 2D plot to 3D
Hello, i want to make the code extrude this curve over the range 0 to 10 units into the z-axis and i want the plot to show it in...

8 mois il y a | 2 réponses | 0

### 2

réponses

Question

Simplifying a code to one matrix
%I want to make this code perform the same function but using a matrix M(x,y) instead of using 2 variables %meaning I want the ...

9 mois il y a | 1 réponse | 0

### 1

réponse

Question

Writing a Recursive Function
I am having trouble writing a recursive function that calculates the value of N(i,p) for example, to calculate N(0,2), I need t...

9 mois il y a | 2 réponses | 0

### 2

réponses

Question

Matlab is not plotting
How to make matlab plot this (it shows an empty graph) for i=1:10 M=1+i; plot(i,M,'LineWidth',2) hold on end

9 mois il y a | 1 réponse | 0

### 1

réponse

Question

Plot not shown in for loop
The plot is not appearing for this simple loop for i=0:0.01:1 if i<0.5 M=1 elseif i<0.7 M=0.5 ...

9 mois il y a | 2 réponses | 0

### 2

réponses

Question

Plotting a cell array
I have an array 'J' that I want to plot. Each cell in the array represents the x and y coordinates of a single point. I am not s...

9 mois il y a | 1 réponse | 0

### 1

réponse

Question

How to plot a function in a for loop?
n=3; for i=1:n+1 %this loop returns 4 curves, I want to plot them on a single graph f{i} = @Bezier; B=Bezier(n,i-1);...

9 mois il y a | 1 réponse | 0

réponse