Yifan He
Texas Tech University
Followers: 0 Following: 0
MATLAB
Spoken Languages:
English, Chinese
Statistiques
0 Questions
4 Réponses
RANG
210 308
of 295 467
RÉPUTATION
0
CONTRIBUTIONS
0 Questions
4 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
0
RANG
of 20 234
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 153 912
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
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...
plus de 2 ans il y a | 0
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)...
plus de 2 ans il y a | 0
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...
plus de 2 ans il y a | 0
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...
plus de 2 ans il y a | 0