How to write this iteration code?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi, I'm new using Matlab. I have to programming a code for this interation using data from many .csv archives. I have no idea how to do that :/
the .csv data is in this format: TIME, R, Xl

0 comentarios
Respuestas (1)
KSSV
el 31 de Oct. de 2020
Read about pdist2. You can use this to get whay you want.
P = rand(4,2) ; % random data for demo
iwant = pdist2(P) % the lower/ upper diagonal elements is what you wanted
0 comentarios
Ver también
Categorías
Más información sobre Get Started with MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!