Matrices question

Matrices question - Сообщения

#1 Опубликовано: 28.03.2021 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 Опубликовано: 28.03.2021 12:25:53
sando99

sando99

0 сообщений из 12 понравились пользователям.

Группа: User

After some tinkering this is what I came up with:


#3 Опубликовано: 28.03.2021 16:11:23
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 29 раз(а).
#4 Опубликовано: 29.03.2021 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 Опубликовано: 29.03.2021 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 Опубликовано: 29.03.2021 10:02:14
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 30 раз(а).
#7 Опубликовано: 02.04.2021 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 Опубликовано: 02.04.2021 14:00:59
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: 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 Опубликовано: 02.04.2021 18:06:13
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 04.04.2021 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 Опубликовано: 04.04.2021 17:55:15
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Unknown.PNG
#12 Опубликовано: 05.04.2021 13:12:38
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Otherwise generalized ...

Algo.PNG
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений