How to write a matrix with elements 10,30,10

2 次查看(过去 30 天)
M2=(10,30,10)

回答(1 个)

James Tursa
James Tursa 2024-4-16
Use brackets
M2 = [10,30,10]
M2 = 1x3
10 30 10
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>

类别

Help CenterFile Exchange 中查找有关 MATLAB Coder 的更多信息

标签

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by