Community Profile # Mahmoud Abbas

Last seen: 3 månader ago Active since 2022

#### Statistics

• #### Content Feed

View by

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

### 1

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

### 2

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

### 1

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

### 1

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

### 2

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

### 1

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

### 2

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

### 1

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

### 2

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