ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
10-06-2025 01:05 PM
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.
10-06-2025 01:33 PM - edited 10-06-2025 01:38 PM
Seems like a beginner homework that most here can complete in minutes. What have you tried? Where did you get stuck?
About terminology:
10-06-2025 01:37 PM
i couldn^t do
10-06-2025 01:41 PM
Understood.
What was the problem and how far did you get:
Have you done any basic tutorials? Looked at your class notes?
10-06-2025 01:45 PM
Yes I have a labview version 2012 and i made a new vi then create num.controls,array,cluster,for loop.fartheri dont understand
10-06-2025 02:05 PM - edited 10-06-2025 02:06 PM
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?
10-07-2025 10:34 AM
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?
10-07-2025 12:07 PM
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.
10-09-2025 10:01 AM
thank you somuch
10-09-2025 11:15 AM
can you share your block,because mine is with errors