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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Matlab to Mathcad Vectors and Matrix

JB_9681141
4-Participant

Matlab to Mathcad Vectors and Matrix

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

 

JB_9681141_0-1605117849982.png

Thank u 

ACCEPTED SOLUTION

Accepted Solutions

You could simply do it like this

idx.jpg

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

 

Alan

View solution in original post

3 REPLIES 3
LucMeekes
23-Emerald III
(To:JB_9681141)

Something like this?

LucMeekes_0-1605119021629.png

Success!
Luc

JB_9681141
4-Participant
(To:LucMeekes)

 
 
 
 
 

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

 

 
 
 
 
 

d74b5dc1-b277-4595-8899-70e8c4eb1805.jfif

You could simply do it like this

idx.jpg

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

 

Alan

Announcements

Top Tags