Skip to main content
1-Visitor
November 14, 2014
Solved

"This value must be a scalar"

  • November 14, 2014
  • 2 replies
  • 5248 views

Hi all,

How can change this figur to be a scalar

Best answer by RichardJ

So then perhaps what you want is something like this?

calc.png

2 replies

25-Diamond I
November 14, 2014

We don't see the definition of S.ts_a.

The variables you show seem to be 1 x 2 matrices. I am not sure if you have created them that way on purpose or accidentially have used the square brackets.

If your variables are matrices consisting of two values on purpose, you will have to decide which of those two values you want to compare against S.ts_a (I suppose this will be a scalar).

For further questions please additionally attach your worksheet.

1-Visitor
November 14, 2014

HI - thanks for replay

The matrices is for purpose

It still does not work?

pic.PNG

1-Visitor
November 14, 2014

Because the units are not compatible

1-Visitor
November 14, 2014

But, it does work without the matrix (units are still the same)

pic.PNG