MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   Matlab根据矩阵值选择值 (https://www.labfans.com/bbs/showthread.php?t=26345)

poster 2019-12-14 20:13

Matlab根据矩阵值选择值
 
我正在尝试制作一个映射坐标的程序。我很难让Matlab根据向量不等式选择特定的值。也许我做错了,但是这是我的代码,其中[B]g[/B]是一个向量,给出了点的全局位置。 [B]EL[/B]是“对象”的长度,局部坐标是一维情况下“对象”上点的坐标。然后重新评估这些局部坐标,以在全局对象的整个长度上将值设为-1到1。 [B]PL[/B]是全局对象的位置。

%Get the local coordinates of the points for g=(gp(gp>0)) for n1=(gp(gp


所有时间均为北京时间。现在的时间是 04:49

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.