Hi,guys!Can you help for this task?
1. Develop a virtual instrument that:
− generates a two-dimensional array of size M× N from random numbers
in the range [-100: 100] according to the individual task option. The matrix size parameters M and N are entered from the keyboard.
− displays the original matrix on the front panel.
− additional parameters, if present in the individual task option, are entered using the controls on the front panel.
− performs actions according to the individual task using nested
loops or built-in functions
LabVIEW for working with arrays.
− displays the program's results on the front panel, explaining each
value using the individual task's wording.
2. The program should have at least two sub-instruments.
I. Form matrix B from the elements of matrix A. Each element b ik should be equal to the maximum element of matrix A from the area defined by the indices i k, according to the picture. Output the resulting matrix. II. Make and output a one-dimensional array of the minimum modules of non-zero elements of each row of matrix A. If all elements in a row are 0, the corresponding element of the one-dimensional array should be 0.
Seems like a beginner homework that most here can complete in minutes. What have you tried? Where did you get stuck?
About terminology:
Understood.
What was the problem and how far did you get:
Have you done any basic tutorials? Looked at your class notes?
This seems like obvious homework to learn array handling, because these are not typical scenarios found in the wild. If programming is not your thing, why do you even want to do this?
I would recommend to Start here
We will be happy to point you in the right direction once you shows us what you tried and ask specific questions. What exact part don't you understand?
Just trying to follow up if you made any progress.
Are these random number (-100 ...100) integers?
Have you ever found out what "additional parameters" are?
Here is a simplified draft for the main tasks. See if you understand the main ideas and adjust to your needs.
Each of the second loops can be turned into a subVI. I assume you know how to do that.