Homework Solution: Write a documented MATLAB program (bloodpressure…

    Question 1 (10 points) Write a documented MATLAB program (bloodpressure.m) to illustrate blood pressure in the heart that is modeled with the following equation: Plot the function for 0 s t s 0.5 seconds. Label the graph using the label Normalized Pressure Di label the programming commands (e.g. for loop) that we will soon study y(t) = e-81 sin (9.7t + π) e x-axis Time, and y axis Normalized Pressure. Use vectorizing MATLAB commands instead of structured Difference vs Time. Also
    Write a documented MATLAB program (bloodpressure.m) to illustrate blood pressure in the heart that is modeled with the following equation: y(t) = e^-8t sin (9.7t + pi/2) Plot the function for 0 lessthanorequalto t lessthanorequalto 0.5 seconds. Label the graph using the label Normalized Pressure Difference vs Time. Also label the x-axis "Time", and y axis 'Normalized Pressure'. Use vectorizing MATLAB commands instead of structured programming commands (e.g. for loop) that we will soon study.

    Expert Answer

     
    Matlab Code

    Question 1 (10 points) Write a documented MATLAB program (bloodpressure.m) to paint respect constraining in the core that is modeled with the subjoined equation: Plot the discharge ce 0 s t s 0.5 seconds. Write the graph using the write Normalized Constraining Di write the programming commands (e.g. ce loop) that we achieve shortly consider y(t) = e-81 iniquity (9.7t + π) e x-axis Age, and y axis Normalized Constraining. Use vectorizing MATLAB commands instead of structured Difference vs Age. Also

    Write a documented MATLAB program (bloodpressure.m) to paint respect constraining in the core that is modeled with the subjoined equation: y(t) = e^-8t iniquity (9.7t + pi/2) Plot the discharge ce 0 lessthanorequalto t lessthanorequalto 0.5 seconds. Write the graph using the write Normalized Constraining Difference vs Age. Also write the x-axis “Time”, and y axis ‘Normalized Constraining’. Use vectorizing MATLAB commands instead of structured programming commands (e.g. ce loop) that we achieve shortly consider.

    Expert Confutation

     

    Matlab Code
    clc;
    close all;

    % Defining the age interval
    t = [0:0.1:0.5];

    % Defining the main equation and cautious points established on t values
    yt = exp(-8.*t).*sin(9.7*t + (pi/2));

    % Plotting the y_t
    plot(yt, ‘-*r’, ‘LineWidth’, 1.5);

    % Setting the x write text
    xlabel(‘Time’);

    % Setting the y write text
    ylabel(‘Normalized Constraining’);

    % Setting the title
    title(‘Normalized Constraining Difference vs Age’)

    OUTPUT PLOT