Matrices question

Matrices question - Poruke

#1 Objavljeno: 28. 3. 2021. 10:02:08
sando99

sando99

0 svidjanja u 12 postova.

Grupa: 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 Objavljeno: 28. 3. 2021. 12:25:53
sando99

sando99

0 svidjanja u 12 postova.

Grupa: User

After some tinkering this is what I came up with:


#3 Objavljeno: 28. 3. 2021. 16:11:23
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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) preuzeto 1253 put(ova).
#4 Objavljeno: 29. 3. 2021. 03:41:11
NDTM Amarasekera

NDTM Amarasekera

130 svidjanja u 352 postova.

Grupa: User

Extended to Nested Array.
Cheers.....

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

sando99

0 svidjanja u 12 postova.

Grupa: User

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

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

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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) preuzeto 1496 put(ova).
#7 Objavljeno: 2. 4. 2021. 11:15:39
sando99

sando99

0 svidjanja u 12 postova.

Grupa: 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 Objavljeno: 2. 4. 2021. 14:00:59
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: 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 Objavljeno: 2. 4. 2021. 18:06:13
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 4. 4. 2021. 16:22:02
sando99

sando99

0 svidjanja u 12 postova.

Grupa: 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 Objavljeno: 4. 4. 2021. 17:55:15
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

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

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Otherwise generalized ...

Algo.PNG
  • Novi postovi
  • Nema novih postova