To obtain the average 'B' value by using Theta value according to each R value in the 3960x4 Matrix
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Berat Can Karatas
el 21 de Jul. de 2020
Editada: Berat Can Karatas
el 22 de Jul. de 2020
Dear colleagues,
I am trying to calculate a B value. I have a 3960x4 matrix. In this matrix, R value is the first column, Theta value is the second column and Bz value is the fourth column. (No need for the third column.)
My purpose is to find the average of the B values in all Theta values for each R value. I will draw the graph (43x2) of B according to the R values.
Example:
For R=2,
B(Theta_0(R=2)) + B(Theta_1(R=2)) + B(Theta_2(R=2)) + ... + B(Theta_89(R=2))= Avg(B(R=2))
Many thanks
0 comentarios
Respuesta aceptada
Berat Can Karatas
el 22 de Jul. de 2020
Editada: Berat Can Karatas
el 22 de Jul. de 2020
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Shifting and Sorting Matrices 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!