Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67231

Using for loop to create an off diagonal elements

$
0
0


I only need to get the output to show an off diagonal elements like this,

Rusyaidi_arif_cute_2-1737480654162.png

formula to get off diagonal:

nbr=3

 

Rusyaidi_arif_cute_5-1737481011560.png

 



Here is what I did.

Rusyaidi_arif_cute_3-1737480841687.png

Rusyaidi_arif_cute_4-1737480854918.png

a 3 by 3 output by using the 1d array and zeros (3by3)

To be fair i am not sure what i was doing here because i was just trying out everything and could not understand. Hopefully, someone can help me. I have attached the file.

 


Viewing all articles
Browse latest Browse all 67231

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>