MAT LAB for a project in matlab I was given the following ex

MAT LAB

for a project in matlab I was given the following examples I could do (not much info I know)

- finding the ideal driving speed for my car

-finding the volumes in pyramids of different sizes

-simulating a realistic diode

etc.

Can someone please help build a matlab code for any one of these eamples. (with only the info given above)

Solution

volume of pyramid

matlab code

prompt = \'What is the length value? \';
l = input(prompt);
prompt = \'What is the width value? \';
w = input(prompt);
prompt = \'What is the height value? \';
h = input(prompt);
V=l*w*h/3;
V

MAT LAB for a project in matlab I was given the following examples I could do (not much info I know) - finding the ideal driving speed for my car -finding the v

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site