Verfasst am: 23.07.2014, 14:14
Titel: function on each cell of array with logical indexing within
Dear Matlabers,
it would be nice if anyone can help me. I have an 3D-array and I want to get the row and columnwise the number of unique values within all layers. Of coarse I can do this using a loop but I want to get rid of it. Isn't there a function to adapt on every cell like 'arrayfun' but with the possibility of indexing within?
So gehts leider auch nicht, da für den Fall das die Werte variabel sind im Mittel aber gleich, wird das fehlinterpretiert. Wenn also jemand eine Lösung hat, wäre es super
parallele Abfrage nach Differenz aus Max und Min und schon gehts. Wenn Max = Mean = Min dann alles gleich.
Stefan
Einstellungen und Berechtigungen
Du kannst Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum antworten. Du kannst deine Beiträge in diesem Forum nicht bearbeiten. Du kannst deine Beiträge in diesem Forum nicht löschen. Du kannst an Umfragen in diesem Forum nicht mitmachen. Du kannst Dateien in diesem Forum posten Du kannst Dateien in diesem Forum herunterladen
MATLAB, Simulink, Stateflow, Handle Graphics, Real-Time Workshop, SimBiology, SimHydraulics, SimEvents, and xPC TargetBox are registered trademarks and The MathWorks, the L-shaped membrane logo, and Embedded MATLAB are trademarks of The MathWorks, Inc.