Question

>> x = 0:250:8000; y = [463.971 618.82 657.451 780.198 882.368 976.775 1009.87 1108 1159.28 1274.69...

>> x = 0:250:8000;
y = [463.971 618.82 657.451 780.198 882.368 976.775 1009.87 1108 1159.28 1274.69 1303.96 1418.22 1453.05 1502.84 1531.37 1548.24 1594.34 1602.89 1640.93 1646.19 1703.79 1717.28 1717.96 1803.63 1816.41 1857.65 1921.48 1931.91 1957.86 1971.85 2119.59 2165.43 2237.3 2275.2 2326.57 2348.12 2352.78 2371.76 2445.43 2477.01 2534.21 2585.07 2595.41 2599.12 2627.05 2629.26 2645.97 2652.22 2653.06 2653.79 2689.18 2719.77 2835.4 3021.2 3049.33 3138.67 3249.6 3430.6 3515.12 3543.67 3685.67 3745.88 3843.76 4001.71 4236.96 4265.22 4302.9 4308.5 4373.46 4464.62 4471.87 4593.56 4752.17 4767.67 5442.26 6573.33 7368.91];
>> plot(x,y)


Error using plot
Vectors must be the same length.

Why am I getting this error on MatLab? HELP!!

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

x = 0:(8000/76):8000;
y = [463.971 618.82 657.451 780.198 882.368 976.775 1009.87 1108 1159.28 1274.69 1303.96 1418.22 1453.05 1502.84 1531.37 1548.24 1594.34 1602.89 1640.93 1646.19 1703.79 1717.28 1717.96 1803.63 1816.41 1857.65 1921.48 1931.91 1957.86 1971.85 2119.59 2165.43 2237.3 2275.2 2326.57 2348.12 2352.78 2371.76 2445.43 2477.01 2534.21 2585.07 2595.41 2599.12 2627.05 2629.26 2645.97 2652.22 2653.06 2653.79 2689.18 2719.77 2835.4 3021.2 3049.33 3138.67 3249.6 3430.6 3515.12 3543.67 3685.67 3745.88 3843.76 4001.71 4236.96 4265.22 4302.9 4308.5 4373.46 4464.62 4471.87 4593.56 4752.17 4767.67 5442.26 6573.33 7368.91];

plot(x,y)

8000 7000 6000 5000 4000 3000 2000 1000 0 1000 2000 3000 4000 5000 6000 7000 8000

\color{red}Please\; upvote\;the \;solution \;if \;it \;helped.\;Thanks!

Add a comment
Know the answer?
Add Answer to:
>> x = 0:250:8000; y = [463.971 618.82 657.451 780.198 882.368 976.775 1009.87 1108 1159.28 1274.69...
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