フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

how to use for loop

1 回表示 (過去 30 日間)
muhammad ismat
muhammad ismat 2016 年 4 月 15 日
閉鎖済み: Geoff Hayes 2016 年 4 月 17 日
if i have
[s] = function(data,k)
if (~exist('opts','var'))
opts = [];
end
p = 30;
if isfield(opts,'p')
p = opts.p;
end
r = 20;
if isfield(opts,'r')
r = opts.r;
end
.....
.....
[s] = k_means(y,t)
then i take [s] and calculate another function so i want to variables p and r to take range of values i.e p=10:30 and r=5:10 and in each time i have different [s] to complete the calculation

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by