given matrix in matlab write code to produce the following: home / study / engin
ID: 3742314 • Letter: G
Question
given matrix in matlab write code to produce the following:
home / study / engineering / computer science / computer science questions and answers / given data in matlab. write for loop code to find the following: calculate the following equation ...
Your question has been answered
Let us know if you got a helpful answer. Rate this answer
Question: Given data in matlab. Write for loop code to find the following: Calculate the following equation...
Given data in matlab.
Write for loop code to find the following:
Calculate the following equation for every row:
P=p/RT
where p=column 15
T=column 10
R=286.9
Also provide pseudocode for this
Please show screenshot!!
3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 2 N 6 2 3 7 77 71 82 80 77 83 91 68 68 57 64 72 76 75 76 85 83 56 50 68 58 53 66 50 47 43 37 51 38 35 52 26 24 4 4 37 26 3 3 19 28 3 3 3 3 50 30 39 50 5 8 0 2 1 0 1 0 7 46 39 28 44 0 0 0-1 0 : 200 0_0_0_0 0-1-0 0 0_0_0_0 0 0|0|0 0 0 000 200 0 19 21 23 22 24 25 24 26 25 49859317 143817 10 8 3 1 1 0-0-0013 216 2 1Explanation / Answer
Using for loop
Code:
R = 286.9;
[rows,columns] =size(A)
for i=1:rows
P(i)= A(i,15)/(R*A(i,10));
end
disp('Value of P for each row : ')
disp(P)
Hope it satisfies you
Thank you
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.