Question: How to compute then display data, including if numbers are real, NaN, or infinite, in MATLAB In this code, I need to compute new values
How to compute then display data, including if numbers are real, NaN, or infinite, in MATLAB
In this code, I need to compute new values using data provided. Then, the information needs to be organized and displayed together with the given values and the newly computed value. If the new value does not exist or is infinite, the code needs to display a message stating as such. I am having trouble displaying the information correctly, and I don't think I've called the information correctly from strings created in the first portion of the code. Attached is what I have already done. Output should look something like this:
For EDV: 61 and ESV: 120
EF: -0.96721
For EDV: 49 and ESV: 136
EF: -1.7755
For EDV: 64 and ESV: 89
EF: -0.39062
For EDV: 0 and ESV: 111
EF is infinity.
For EDV: 119 and ESV: 160
EF: -0.34454
For EDV: 0 and ESV: 0
EF is not a number.

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
