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.

How to compute then display data, including if numbers are real, NaN,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!