[Simulink] Constructing a for loop equivalent to apply to a matrix
Show older comments
I am having an issue on treating elements of a [3x64] matrix using Simulink.
This matrix is composed of 64 columns of 3 coordinates (x,y,z) (3 rows). My goal is to transform each one of this columns into Latitude,Longitude,Altitude coordinates. For that, I have a block computing the latitude, logitude, altitude coordinates for one column x,y,z. I want to apply this to all the matrix. I am having trouble on the dimensions and to set the output of the Index Vector to [3x1]. Here is my model, could someone help me please?

Answers (0)
Categories
Find more on Simulink 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!