fclose (op); This file (weekdays.txt) can be opened with any program that can read .txt file. Solved Examples: Brample (1): Given a vector with 10 element, check these elements for numbers grater than...


fclose (op);<br>This file (weekdays.txt)<br>can be opened with any program that can read .txt file.<br>Solved Examples:<br>Brample (1): Given a vector with 10 element, check these elements for numbers grater<br>than or equal 5 then change the element to be 100, if the element value is less than 5 then<br>turn this element to (0), otherwise change the element to -100?<br>a-[1 451792038];<br>for i-1:10<br>if a(i)<5<br>k(i)-0;<br>elseif a(i)>=5<br>k(i)=100;<br>else<br>k(i)=-100%3;<br>end<br>end<br>a<br>k<br>a =<br>

Extracted text: fclose (op); This file (weekdays.txt) can be opened with any program that can read .txt file. Solved Examples: Brample (1): Given a vector with 10 element, check these elements for numbers grater than or equal 5 then change the element to be 100, if the element value is less than 5 then turn this element to (0), otherwise change the element to -100? a-[1 451792038]; for i-1:10 if a(i)<5 k(i)-0;="" elseif="" a(i)="">=5 k(i)=100; else k(i)=-100%3; end end a k a =

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here