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 years 前 | 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 years 前 | 0