How can i write a code like this?
显示 更早的评论
Hi everbody,
I want to draw a linear change between two datas which have a difference as %5. For ex:
Datas:
-0,012 -0,024 -0,03 -0,02 -0,02 -0,01 -0,02 -0,03 -0,03 -0,05 -0,065 -0.06 -0.1
How can i create a linear change from -0.012 to -0.065 and from -0.065 to -0.1?
There are 512 datas and i can't correctly use if command. I use this command with first data, but i have to evaulate all of the datas because; for ex there may be a %5 difference between 126. and 225. datas.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Linear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!