Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How can I do this Matrix data operation?

3 ビュー (過去 30 日間)
Federico Manfrin
Federico Manfrin 2019 年 12 月 12 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I got a matrix of data from a permanent magnet FEM analisys: z = f(x,y)
There are 360 colums,each one match a angle position of the rotor of the motor
There are 100 row, each one match a current applied to the stator of the motor during the fem analisys
Each one of the matrix value (z), is a torque value, wich is at that value thanks to the rotor position and the current at the stator.
Now I need to create a new matrix where
There are 360 colums,each one match a angle position of a rotor of a motor
There are 100 rows,each one is a torque value, ranging from the min to the max of the torque in the matrix above
Each one of the matrix value (z), should be a current value, that match the value of the first matrix,
how can I do this?
Thanks a lot

回答 (1 件)

Chuguang Pan
Chuguang Pan 2019 年 12 月 12 日
It is Unworkable!
For eaxample, every row of new matrix need that there must exist current and angle pairs which generate same torque.
But the Original matrix may not exist such pairs!
  1 件のコメント
Federico Manfrin
Federico Manfrin 2019 年 12 月 12 日
編集済み: Federico Manfrin 2019 年 12 月 12 日
Yes, this may be. But we can workaround .. this could be some idea:
1) Maybe a solution could be to get a bigger starting matrix from and interp2 operation
2) Another idea could be to find the nearest value of torque matching the desired one.
A worst problem could be if there's the same value twice in the matrix

製品


リリース

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by