Error message here!

Hide Error message here!

忘记密码?

Error message here!

请输入正确邮箱

Hide Error message here!

密码丢失?请输入您的电子邮件地址。您将收到一个重设密码链接。

Error message here!

返回登录

Close

How matlab transforms double double precision numerical value into scalar numerical value

CSDN Q & A 2022-01-15 04:45:16 阅读数:6 评论数:0 点赞数:0 收藏数:0

Matlab How to make double Double precision numerical value is converted to scalar numerical value




Refer to the answer 1:

matlab There is no scalar value .
Doubles and other data types have conversion functions
For example, double precision is converted to single precision single, convert to 32 For bit integers int32, wait

a = 1.2345678912; % Double precision b = single(a); % Convert to single precision c = int32(a); % Turn it into 32 An integer 



Refer to the answer 2:
Copyright statement
In this paper,the author:[CSDN Q & A],Reprint please bring the original link, thank you

编程之旅,人生之路,不止于编程,还有诗和远方。
阅代码原理,看框架知识,学企业实践;
赏诗词,读日记,踏人生之路,观世界之行;

支付宝红包,每日可领