Write a program as a function M-file that triples the elements that are larger

than 2 and smaller than 10, and, raises to the power of 2 the elements that are negative

but greater than -3. Test your function on V= [5, 17, -3, 8, 0, -7, 12, 15, 20, -6, 6, 4, -7, 16].

Also, draw the flowchart of your program.

asked by guest
on Jan 01, 2025 at 1:27 am



Mathbot Says...

I wasn't able to parse your question, but the HE.NET team is hard at work making me smarter.