How to create an equation of a line with Matrix?
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I attached an image here and it is a matrix of 22x100.
fxy_2 = new_twenty_proj(329:350,222:321);
This is my fxy_2.
You can see at the upper left that there are a few numbers there. I was told that I need to use something like mx+b or equation of a line to get rid of those numbers. like if mx+b > (something over here), then I would only care about the numbers at the other part, not the ones on the upper left.
I don't know how to do this, though. I'm just a beginner in matlab and I read that i can use refline or polyfit or even regress.
Can anyone help me?
Thank you!
3 个评论
Jan
2018-1-16
I do not understand which line you are talking about. What is the "upper part" of a line - or in other words: where is "above" exactly? What is overlapping?
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!