error: Divisor matrix must be square

error: Divisor matrix must be square - Messages

#1 Posted: 2/11/2026 12:35:43 AM
Anna Ziobrowska

Anna Ziobrowska

0 likes in 3 posts.

Group: 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
Edited 2/11/2026 12:36:16 AM
#2 Posted: 2/11/2026 8:58:30 AM
sergio

sergio

119 likes in 337 posts.

Group: User

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

Solver_ktJm0bnT8D.png
sergio
1 users liked this post
Anna Ziobrowska 2/11/2026 2:56:41 PM
#3 Posted: 2/11/2026 11:24:24 AM
Anna Ziobrowska

Anna Ziobrowska

0 likes in 3 posts.

Group: 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 Posted: 2/11/2026 12:18:58 PM
sergio

sergio

119 likes in 337 posts.

Group: User

The external function "asin" should be evaluated element-wise.
sergio
Solver_KqV4kAjf40.png
1 users liked this post
Anna Ziobrowska 2/11/2026 2:56:38 PM
#5 Posted: 2/11/2026 1:52:31 PM
Anna Ziobrowska

Anna Ziobrowska

0 likes in 3 posts.

Group: User

Thank you a lot, it worked. Got stuck again here:
image.png
#6 Posted: 2/11/2026 7:15:32 PM
sergio

sergio

119 likes in 337 posts.

Group: 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) downloaded 22 time(s).
  • New Posts
  • No New Posts