pradeep kumar
Followers: 0 Following: 0
Feeds
質問
How to multiply three scalar value one by one to other five scalar value and get all the results in Simulink
suppose I have four values and each value has to be multiplied by another six values and get the all 15 values simultaneously in...
約4年 前 | 1 件の回答 | 0
1
回答回答済み
Write a function called minimax that takes M, a matrix input argument and returns mmr, a row vector containing the absolute values of the difference between the maximum and minimum valued elements in each row. As a second output argument called mmm,
function [mmr,mmm]=minimax(M) mmr=abs(max(M')-min(M')); mmm=(max(max(M'))-min(min(M'))) end
Write a function called minimax that takes M, a matrix input argument and returns mmr, a row vector containing the absolute values of the difference between the maximum and minimum valued elements in each row. As a second output argument called mmm,
function [mmr,mmm]=minimax(M) mmr=abs(max(M')-min(M')); mmm=(max(max(M'))-min(min(M'))) end
4年以上 前 | 0