Matrices question

Matrices question - 消息

#1 已发布: 2021/3/28 10:02:08
sando99

sando99

0个赞,共12个帖子。

组: User

I'm having a little difficulty using matrices. How can I tell SMath to take the first row value from matrix "Pin" (0,2) and calculate formula "C0,2" with each value from matrix "Tin". I then want the result displayed as a new matrix 1x6, if possible (see pictures below). Thanks!





Here is what I want to achieve:

#2 已发布: 2021/3/28 12:25:53
sando99

sando99

0个赞,共12个帖子。

组: User

After some tinkering this is what I came up with:


#3 已发布: 2021/3/28 16:11:23
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

After some tinkering this is what I came up with:


Quite correct, you can plot the family vs the Pin.

Inst_Isentropic Discharge.sm (173.76 KiB)已下载 1244 次。
#4 已发布: 2021/3/29 03:41:11
NDTM Amarasekera

NDTM Amarasekera

130个赞,共352个帖子。

组: User

Extended to Nested Array.
Cheers.....

Matrices_Question.png
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#5 已发布: 2021/3/29 05:33:49
sando99

sando99

0个赞,共12个帖子。

组: User

Thanks to both of you, definetely some nice suggestions there!

Edit: I cannot give you "Thanks" - the forum gives me an error.
#6 已发布: 2021/3/29 10:02:14
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Thanks to both of you, definitively some nice suggestions there!


... more for your project.
You have to work the units that were ignored in this demo.
Cheers ... Jean

Page5 Pin_Kin.sm (428.66 KiB)已下载 1468 次。
#7 已发布: 2021/4/2 11:15:39
sando99

sando99

0个赞,共12个帖子。

组: User

I cannot, for the life of me, figure out what this means:




Can someone lend me a hand with this? Thanks!


Edit: I seem to have figured it out.


#8 已发布: 2021/4/2 14:00:59
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

Wrote

Edit: I seem to have figured it out.


A humble suggestion,
Putting vectorize into function prevents further writing errors.
And a subjective perspective, it also looks better.

Regards

2021-04-02_19-58.png
#9 已发布: 2021/4/2 18:06:13
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Can someone lend me a hand with this? Thanks!


As you give it, there is no immediate suite [interpolation ...]
As given not sorted, the suite is the "Colibri" path.
Once sorted, you can linterp, only.
You can also fillet at will polyline CAD style.
From there, fit and you have something much easier to understand.
You can even have a surface plot.
Cheers ... Jean

Sort.PNG



#10 已发布: 2021/4/4 16:22:02
sando99

sando99

0个赞,共12个帖子。

组: User

New head-scratcher with my project. The circled value should be equal to 34,8 not 34,7. I am open to suggestions where my mistake might be. See screenshot:


#11 已发布: 2021/4/4 17:55:15
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Unknown.PNG
#12 已发布: 2021/4/5 13:12:38
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Otherwise generalized ...

Algo.PNG
  • 有新帖
  • 无新帖