Question

4-5], what will be displayed ifthe following Given u 1-3 2 executed by MATLAB? nu (a)1 1 (b) 1 -3 4 -5 (c) -1 2 (d) 1 (e) o 1



in MATLAB

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer: a) 1 1 1 1 1

u = [1 -3 2 4 -5]

Array u values are [1 -3 2 4 5]

When we execute ~u values are [0 0 0 0 0]

When we execute ~~u values are [ 1 1 1 1 1]

When we execute ~~~u values are [0 0 0 0 0]

When we execute ~~~~u values are [ 1 1 1 1 1]

Add a comment
Know the answer?
Add Answer to:
in MATLAB 4-5], what will be displayed ifthe following Given u 1-3 2 executed by MATLAB?...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT