Calling a specific value from a matrix using a loop
3 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
I have a set of matrix, called att_power:
I need to use a for loop to call some of the values in the first column of the matrix, such as I could be calling 5, 15, 30, and 50 only.
Based on the values, I am calling, I need matlab to create matrix showing the corresponding values in the second column.
In this case, I want to matlab to create a matrixx, showing [4.2, 32, 115, 273]
Can anyone please help me on this?
Kind regards,
Nilesh
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!