How to Use Area Value on a Formula
Show older comments
Hello,
I have area value of an object as a result on image processing with Matlab.
I would like to learn how to use this value in a specific formula that I use on my calculation.
My formulate is [(3*Area)/4]*(354.10^-5) and I look on putting the area of my image processing result which I have at variables tab at the result workspace.
Accepted Answer
More Answers (1)
Murat Kocaman
on 6 Jun 2018
Edited: Murat Kocaman
on 6 Jun 2018
0 votes
4 Comments
Ankita Bansal
on 6 Jun 2018
Edited: Ankita Bansal
on 6 Jun 2018
result=(3*Area/4)*354.10*power(10,-5);
This will store 5 values in results corresponding to each of these 5 Areas. if you want to calculate result for let's say ith Area only, you can write result=(3*Area(i)/4)*354.10*power(10,-5).
Murat Kocaman
on 6 Jun 2018
Image Analyst
on 6 Jun 2018
You've marked an answer as Accepted. If that is not really true, unaccept it and I'll help you. Put your regionprops code in your reply.
Murat Kocaman
on 7 Jun 2018
Edited: Murat Kocaman
on 29 Jun 2018
Categories
Find more on Structures in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!