How to split an array into individual values?
显示 更早的评论
I have an array (made by polyfit) which has 2 values P = polyfit(n,q,1). what i want is to use the outputted values separately i.e as P will have 2 values i want to make it into 2 sub variables x and y (gradient and intercept)
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!