【发布时间】:2015-06-17 13:15:29
【问题描述】:
我是 Matlab 和一般编程的新手。我写的笛卡尔到极坐标的转换函数不起作用。
syms x y
function [r,theta]=something[x,y]
r=(x^2+y^2)^.5
theta=atan(x/y)
end
【问题讨论】:
-
@RyanK,请不要对非代码内容使用内联代码语法,例如产品名称。
标签: matlab function multiple-variable-return