save index of find- loop in a table

2 views (last 30 days)
I have a table and im looking for values of each row with find.
In the next step I want to save the column number (index) of the searched objekt in a table for each row.
for i=1:143

Accepted Answer

KSSV on 24 May 2022
Edited: KSSV on 24 May 2022
C = cell(143,1) ;
for i=1:143
C{i} = col ;
Frederik Reese
Frederik Reese on 24 May 2022
how do i get the cell back to a double, with replacing the [] rows with 0 or NaN?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!