11-11-2014 01:00 PM
Hello, I'm new to Labview so I am struggling with some ideas. I have the following matrix
A=[1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16]
I want to obtain only the following resized matrix with the elements 6, 7 10 and 11, i.e.
B=[ 6 7
10 11]
I appreciate your help
Solved! Go to Solution.
11-11-2014 01:21 PM
On the Array => Matrix pallette, there is a function to get a subMatrix.
11-11-2014 01:46 PM
If a 2D array, use the Array Subset.
11-12-2014 03:51 AM
Hi,
aputman is right. That function will get you the subset you need if you are working on a matrix. I would also say that you have to remember that columns and rows are 0 indexed.
Kind Regards,
11-12-2014 09:04 AM
Welcome to LabVIEW, let me be your guide: (free training)
6 Hour LabVIEW Introduction
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord