Is it possible to combine every value in the same table?

1 Ansicht (letzte 30 Tage)
Pai-Feng Teng
Pai-Feng Teng am 5 Okt. 2018
Beantwortet: ANKUR KUMAR am 5 Okt. 2018
I am a new user of the Matlab R2017a. Currently I am trying to calculate the total amount of precipitation shown on the radar. The Table is represented as the pixel of the radar image, and each cell represents a value. I need to add up every value there.
However, I looked up the MatLab website but can't find anything. I am not looking for adding up specific rows or columns; I want the the sum of all variables in the table. Thank you.
  1 Kommentar
Image Analyst
Image Analyst am 5 Okt. 2018
Bearbeitet: Image Analyst am 5 Okt. 2018
I have no idea what you're trying to describe. Do you have an image (with "pixels"), a "table", or a "cell array" (with cells)??? Please attach your variables in a .mat file.
And what do you want to sum up? All pixels in an image? All rows in a table to get a sum of each column? Sum together different variables (columns) in a table (which would make little sense)? I have no idea.
I think your imprecise and changing terminology makes it difficult for anyone to answer this.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

ANKUR KUMAR
ANKUR KUMAR am 5 Okt. 2018
" I am trying to calculate the total amount of precipitation shown on the radar" Just load the pcp variable and sum up all elements.
pcp_sum=nansum(pcp(:));
Attach at least .mat file to get more clarification.

Weitere Antworten (0)

Kategorien

Mehr zu Radar and EW Systems finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by