Statistica
MATLAB Answers
0 Domande
4 Risposte
RANK
169.136
of 297.711
REPUTAZIONE
0
CONTRIBUTI
0 Domande
4 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
0
RANK
of 159.406
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risposto
name value pairs with variable input arguments
function db = name_value_pairs(varargin) if nargin == 0 db = {}; elseif nargin/2 ~= fix(nargin/2) db = {}; elseif s...
name value pairs with variable input arguments
function db = name_value_pairs(varargin) if nargin == 0 db = {}; elseif nargin/2 ~= fix(nargin/2) db = {}; elseif s...
oltre 2 anni fa | 0
Risposto
how to find the element which is greater than or equal to its row and smaller or equal to its column in a matrix
function indices = saddle(M) m = size(M,1); n = size(M,2); indices = []; for i = 1:m for j = 1:n if (sum(M(i,j)...
how to find the element which is greater than or equal to its row and smaller or equal to its column in a matrix
function indices = saddle(M) m = size(M,1); n = size(M,2); indices = []; for i = 1:m for j = 1:n if (sum(M(i,j)...
oltre 2 anni fa | 0
Risposto
Caesarts Cipher encryption algorithm assistance
function coded = caesar(v,s) x = double(v); y = x + s; if y >= 32 n = fix((y-32)/95); else n = fix((y-126)/95); e...
Caesarts Cipher encryption algorithm assistance
function coded = caesar(v,s) x = double(v); y = x + s; if y >= 32 n = fix((y-32)/95); else n = fix((y-126)/95); e...
oltre 2 anni fa | 0
Risposto
Write a function max_sum that takes v a row vector of numbers & n,a positive integer as inputs.The function needs to find n consecutive elements of v whose sum is largest possible.It returns summa & index of first element of n consecutive integers.
function [summa,index] = max_sum(v,n) if n > length(v) summa = 0; index = -1; end if n <= length(v) summa = su...
Write a function max_sum that takes v a row vector of numbers & n,a positive integer as inputs.The function needs to find n consecutive elements of v whose sum is largest possible.It returns summa & index of first element of n consecutive integers.
function [summa,index] = max_sum(v,n) if n > length(v) summa = 0; index = -1; end if n <= length(v) summa = su...
oltre 2 anni fa | 0