'{:}', ' .' '

25 次查看(过去 30 天)
Tomas
Tomas 2012-4-29
Hi, I would like to know what does these expressions means? Cant find anywhere, but a lot of ppl are using them:
'{:}', ' .' '
Ty :)

采纳的回答

per isakson
per isakson 2012-4-29
Is that a serious question? Search for "Special Characters" in the documentation.

更多回答(1 个)

Walter Roberson
Walter Roberson 2012-4-29
For reference:
.' is the transpose() operator that does NOT do conjugate transpose
{:} is for cell arrays. f(A{:}) is the same as if you had written
f(A{1}, A{2}, A{3}, A{4}, ...., A{end})
In particular, A{:} expands to a sequence of different arguments to whatever it is being called for.

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by