 # 3D Plotting in Matlab

## Question

Plot a 3D image of the some data values.

alpha=[0, 0.125, 0.25, 0.375, 0.5, 0.625, 0.75, 0.875, 1]
beta=[0.075, 0.0435, 0.0101, 0.0765, 0.1587, 0.1973, 0.2979, 0.1440, 0.0976]
K=375;
N=alpha*K*gamma;

When alpha is 0 then all the values of N should be zero, no matter what is the gamma.

Gamma is going to be x axis and alpha is y axis and N is the z axis. As you can see, gamma values are random, not increasing in an order.

## Solution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

%Here we sort the coordinates in increasing order and create the mesh
[G,A]=meshgrid(gamma,alpha);%meshgrid(sort(gamma),sort(alpha));
%Create the value from the formula

N=A.*K.*G;
%plot
figure;
hold on...
\$3.00 for this solution

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

### Find A Tutor

View available MATLAB for Mathematics Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.