Question

Problem 1: Use MATLAB to create a script file and publish a pdf file for the problem: For x equal to 1.5 at intervals of 0.05

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1)

clc

clear all

close all

format long

x=0:0.05:1.5;

y=6.25*exp(-1.6*x)+1.8;

plot(x,y);

xlabel('x');

ylabel('y(x)');

Add a comment
Know the answer?
Add Answer to:
Problem 1: Use MATLAB to create a script file and publish a pdf file for the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Problem 1: Use MATLAB to create a script file and publish a pdf file for the...

    Problem 1: Use MATLAB to create a script file and publish a pdf file for the problem: Given that MX = Y, for the following matrices determine X using both matrix inversion and Gaussian elimination methods 7 -2 4.67 5 7 6.5 -8 13 Y = 13 Display results in short engineering format. Submit the published pdf file. Problem 2: Use MATLAB to create a script file and publish a pdf file for the problem: Given that MX = Y,...

  • DO THIS IN MATLAB PLEASE DO THIS IN MATLAB Create a script file that performs the...

    DO THIS IN MATLAB PLEASE DO THIS IN MATLAB Create a script file that performs the following calculations. Your script will use the functions you create. Label all graphs appropriately. For this project, do not have your homemade functions fprintf anything, instead have all your fprintf commands within your script. Attach your published script file along with .m files for your functions. Exercise 1. A fundamental iterative method for finding the roots of equations of one-variable is known as Newton's...

  • USING MATLAB: Please show how to do this in Matlab a) Create a script file that...

    USING MATLAB: Please show how to do this in Matlab a) Create a script file that uses three sets of nested loops to calculate the final temperature of a light bulb filament. The three nested loops are necessary to calculate Tf for all possible combinations of P, A, and Ti for the engineering formula below. The output from the script should be a 1xn vector representing the values of Tf. You must initialize the output variable so it does not...

  • Using MATLAB. Create a script file that calls a user-defined function within a for/end loop to...

    Using MATLAB. Create a script file that calls a user-defined function within a for/end loop to symbolically compute the derivative of ln(x) on the interval from -5 to 5, containing 100 data points. Your script file should output a plot of the derivative of ln(x) (taken from your function) vs x. Use a line with circular markers for the plot and include a grid and appropriate labels. The user-defined function should 1. Receive a single x value as input. 2....

  • Question 1: Given the relationships of x,y and z: For x = 0 to 35: y...

    Question 1: Given the relationships of x,y and z: For x = 0 to 35: y = 0.35*x*sin(x) 2=0.70*x*cos(x) In MATLAB, use an interval of x which provides very smooth plots. Create three plots: (Be sure to included title and labels for the plots.) In a single figure with subplots: A rectangular plot of x and y, and A polar plot of x and z In a separate figure: A 3-D plot of x, yandz Submitted a published file containing...

  • MATLAB Question: Write a script for the problem pictured. Please send the script, not just the...

    MATLAB Question: Write a script for the problem pictured. Please send the script, not just the printout. Make sure your script allows you to input a value for n so when prompted, in the command window, user types n value. The n value should be the f_k if k ==1 .... Please also send print outs if you can. BELOW IS A SAMPLE ANSWER THAT DID NOT PUT THE INPUT SCRIPT NEEDED FOR THIS QUESTION TO BE CORRECT. YOU CAN...

  • Problem 7. [MAILABⓒproblem] Write a short MATLAB script to construct the transfer function of a system...

    Problem 7. [MAILABⓒproblem] Write a short MATLAB script to construct the transfer function of a system that is described by the following poles, zeros, and gain zeros =-1,1 ±2j poles =-2土2,-0.4 k = 1.28 and plot its response to a step input with amplitude 5 (meaning, u(t)-5 × 1(t). Determine the system's (1) time constant and (2) rise time from the plot of the step response. (Submit the MATLABO script and the plot; both should fit into one page. You...

  • MATLAB HW 11 problem using Switch Case and Input commands Write a script file that calculates...

    MATLAB HW 11 problem using Switch Case and Input commands Write a script file that calculates the cost of a movie tickets according to the following price schedule:                                                  Number of Tickets being purchased Time of Movie < =5 tickets 6 to 9 tickets >=10 tickets Afternoon $6 $30 + $5 for the number of tickets above 5 $50 + $4 for the number of tickets above 9 Weeknight $7 $35 + $6 for the number of tickets above 5...

  • Use matlab Need the matlab code Problem 3: (a) Use Fourier transform to find i(t) in...

    Use matlab Need the matlab code Problem 3: (a) Use Fourier transform to find i(t) in the circuit below if v.( 10e2tu(t). Use MATLAB to solve your problem. (b) Plot the magnitude and phase spectrum of the current I(o). 2Ω 3 20 1 H Submit the solution in word file. The used MATLAB code should be included Due date: last day of classes

  • 4. Show the PDF and CDF of two-parameters of Weibull distribution (1) Use MATLAB to plot...

    4. Show the PDF and CDF of two-parameters of Weibull distribution (1) Use MATLAB to plot three Weibull PDFS with the parameters (a) 7 = 100,B = 1.25 ; (b) 100, B 4 and (c) 10,B 1.25 (2) For the Weibull distribution with the distribution parameter 7 = 20, B =1.5, calculate its = mean and standard deviation (3) For the Weibull distribution with the distribution parameter ) = 20, B =1.5, calculate the probabilities: PCX<80), PCX<40), P(10<X<90) 4. Show...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT