cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Solve Block

ptc-5086232
1-Visitor

Solve Block

Good Afternoon Community,

I'm trying to solve three equations with the solve block. The solve block is returning with error message. Could any one tell me what I'm doing wrong.

Regards

5 REPLIES 5
RichardJ
19-Tanzanite
(To:ptc-5086232)

You are indexing row 1, columns 1 through 9 for alpha, but alpha is a column vector with only one column. You should have just alpha sub 1, alpha sub 2, etc.

Thanks Werner.

Regards

Werner_E
25-Diamond I
(To:ptc-5086232)

OLUBUKOLA ADEBOYEJO wrote:

Thanks Werner.

That post was from Richard, I was late. 😉

Werner_E
25-Diamond I
(To:ptc-5086232)

You mixed up the order of column- and row-index.

For column vectors you furthermore don't need to specify the column (second index)

Seee attached

Thanks to both of you.

Announcements

Top Tags