Matrices question

Matrices question - Mensajes

#1 Publicado: 28/3/2021 10:02:08
sando99

sando99

0 me gusta en 12 mensajes.

Grupo: 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 Publicado: 28/3/2021 12:25:53
sando99

sando99

0 me gusta en 12 mensajes.

Grupo: User

After some tinkering this is what I came up with:


#3 Publicado: 28/3/2021 16:11:23
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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) descargado 1227 vez(es).
#4 Publicado: 29/3/2021 3:41:11
NDTM Amarasekera

NDTM Amarasekera

130 me gusta en 352 mensajes.

Grupo: User

Extended to Nested Array.
Cheers.....

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

sando99

0 me gusta en 12 mensajes.

Grupo: User

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

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

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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) descargado 1442 vez(es).
#7 Publicado: 2/4/2021 11:15:39
sando99

sando99

0 me gusta en 12 mensajes.

Grupo: 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 Publicado: 2/4/2021 14:00:59
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: 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 Publicado: 2/4/2021 18:06:13
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 4/4/2021 16:22:02
sando99

sando99

0 me gusta en 12 mensajes.

Grupo: 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 Publicado: 4/4/2021 17:55:15
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Unknown.PNG
#12 Publicado: 5/4/2021 13:12:38
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Otherwise generalized ...

Algo.PNG
  • Nuevos mensajes
  • Sin mensajes nuevos