Please answer the following matlab questions : 3) (14 Points Total) Short Answer
ID: 3845889 • Letter: P
Question
Please answer the following matlab questions :
Explanation / Answer
b) 3.5*10^-3
c) x=input('Enter your name');
d)
x=input('Enter your name ');
if(strcmp('Davison',x)==1)
fprintf('welcome professor');
else
if(strcmp('D',x(1))==1 || strcmp('d',x(1))==1)
fprintf('Name entered starts with D');
else
fprintf('Name entered not starts with D');
end
end
e)
sum=0;
for i = 1:numel(m) %use linear indexing to iterate through all the elements in array
sum = sum+m(i);
end
f)
x=randi([1.5, 3.5]);
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.