フィルターのクリア

Info

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

help in a matrix

1 回表示 (過去 30 日間)
shiro
shiro 2014 年 2 月 21 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have a matrix with 700 rows and 3 columns, i want to make a function that checks every row and stores the output in a new matrix but it only checks on one row only, is there a way to make it check on all rows?
  1 件のコメント
Thomas
Thomas 2014 年 2 月 21 日
can you post your function?

回答 (1 件)

Chad Greene
Chad Greene 2014 年 2 月 21 日
This function returns an array that is the row of your matrix times five.
function [out] = mynewfunction(matrix,row);
out = 5*matrix(row,:);

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by