Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Loop with error "This value must be a matrix"

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-13-2016
10:52 AM

11-13-2016
10:52 AM

Hello,

I hope, this is the right thread.

Could someone explain me, what I have to do with this loop.

I want to get F as a (3,4) Matrix.

Thank you for helping ...

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-14-2016
04:31 AM

11-14-2016
04:31 AM

The offending statement:

Is assigning f to u, rather than to the element on row v and coumn u of F. I guess it should be :

Then you have a funny index '.q.v' for M in the row above.

Can you post the worksheet?

Luc

3 REPLIES 3

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-14-2016
04:31 AM

11-14-2016
04:31 AM

The offending statement:

Is assigning f to u, rather than to the element on row v and coumn u of F. I guess it should be :

Then you have a funny index '.q.v' for M in the row above.

Can you post the worksheet?

Luc

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-14-2016
09:48 AM

11-14-2016
09:48 AM

Re: Loop with error "This value must be a matrix"

You're right Luc, I haven't seen it

Thank you.

M.q.v ist a literal index q for M with a field index v. Do you see any problem with it?

But everything seem workings right now.

Michael

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-14-2016
11:40 AM

11-14-2016
11:40 AM

Re: Loop with error "This value must be a matrix"

Not immediately. If it works it works...

Apparenly you have a Matrix **M**, 3x4 elements,

and a Vector **M..q**, of 4 elements.

Luc