フィルターのクリア

Using movie() function to run .MAT file

1 回表示 (過去 30 日間)
Miguel D. Martinez
Miguel D. Martinez 2021 年 6 月 8 日
回答済み: KSSV 2021 年 6 月 8 日
I was told that i simply needed to use the movie() function with the right parameters to run this data into a 3D figure containing some neuro data but I cant help but think that i need to extract variables, use getframe in a for loop and then movie(). movie() takes in a matrix and the file i was sent contains arrays and im not sure how to even assemble a for loop to go through these arrays.

回答 (1 件)

KSSV
KSSV 2021 年 6 月 8 日
load('myDat.mat') ;
for i = 1:30
scatter3(locs(:,1),locs(:,2),locs(:,3),[],fittedLevels(i,:)','.')
colorbar
drawnow
end

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by