Info

This question is closed. Reopen it to edit or answer.

Multiplication operation is not working efficiently

1 view (last 30 days)
D.J
D.J on 26 Aug 2018
Closed: Stephen23 on 26 Aug 2018
Hi all, I am trying to convert data from hPa to Pa by multiplying 100, but I don't seem to get the correct answer. Also, I am not sure why do I get asterisk after calculating the first entry, which seems to me affecting the rest of the entries! P.S. I tried to use(.) still not working. Here is my code. Many thanks
TestData2 = importfile('TestData1.xlsx','Sheet1','A1:F31');
hPa=TestData2(1:31,6) %Pressure at 9m in hPa
Pa=hPa*100

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!