error: Divisor matrix must be square

error: Divisor matrix must be square - Poruke

#1 Objavljeno: 11. 2. 2026. 00:35:43
Anna Ziobrowska

Anna Ziobrowska

0 svidjanja u 3 postova.

Grupa: User

Hi, I got stuck trying to do the following:
image.png
The divisor matrix is:
image.png
image.png
I need the c.mn results
I'll appreciate some help, thank you in advance
Izmenjeno 11. 2. 2026. 00:36:16
#2 Objavljeno: 11. 2. 2026. 08:58:30
sergio

sergio

127 svidjanja u 342 postova.

Grupa: User

I imagine you want to achieve element-wise division. You can use the vectorize function.

Solver_ktJm0bnT8D.png
sergio
1 korisnika je svidelo ovu objavu
Anna Ziobrowska 11. 2. 2026. 14:56:41
#3 Objavljeno: 11. 2. 2026. 11:24:24
Anna Ziobrowska

Anna Ziobrowska

0 svidjanja u 3 postova.

Grupa: User

Thank you, it worked. But now im having a different problem, as shown below:
image.png
Wondering if it's truly unsolvable in Smath since I cant have scalars there bc I have to vectorize the functions
#4 Objavljeno: 11. 2. 2026. 12:18:58
sergio

sergio

127 svidjanja u 342 postova.

Grupa: User

The external function "asin" should be evaluated element-wise.
sergio
Solver_KqV4kAjf40.png
1 korisnika je svidelo ovu objavu
Anna Ziobrowska 11. 2. 2026. 14:56:38
#5 Objavljeno: 11. 2. 2026. 13:52:31
Anna Ziobrowska

Anna Ziobrowska

0 svidjanja u 3 postova.

Grupa: User

Thank you a lot, it worked. Got stuck again here:
image.png
#6 Objavljeno: 11. 2. 2026. 19:15:32
sergio

sergio

127 svidjanja u 342 postova.

Grupa: User

Don't confuse subscripts (obtained, for example, with a.1) with array or matrix indices (obtained, for example, with a[1).
sergio01.sm (10,77 KiB) preuzeto 750 put(ova).
  • Novi postovi
  • Nema novih postova