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
- :
- Re: Matlab to Mathcad Vectors and 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-11-2020
01:05 PM

11-11-2020
01:05 PM

Hi, I´m translating some matlab code into a Mathcad, I need to overwrite indices in vectors

Matlab does it like this:

f_site 23x1 Vector

idx 13x1 Vector wich has the indices i need to overwrite.

f_site(idx)=...

In Mathcad I cant do it like this

Thank u

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-11-2020
01:53 PM

11-11-2020
01:53 PM

You could simply do it like this

using the same approach to identifying the appropriate values of theta12, cc etc.

Alan

3 REPLIES 3

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

11-11-2020
01:23 PM

11-11-2020
01:23 PM

Re: Matlab to Mathcad Vectors and Matrix

Something like this?

Success!

Luc

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

11-11-2020
01:43 PM

11-11-2020
01:43 PM

Re: Matlab to Mathcad Vectors and Matrix

Yes that could work but I need to call out the indices of vector to overwrite them like this:

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

11-11-2020
01:53 PM

11-11-2020
01:53 PM

You could simply do it like this

using the same approach to identifying the appropriate values of theta12, cc etc.

Alan