Abhishek singh
Followers: 0 Following: 0
Statistiques
RANG
134 693
of 295 788
RÉPUTATION
0
CONTRIBUTIONS
8 Questions
1 Réponse
ACCEPTATION DE VOS RÉPONSES
12.5%
VOTES REÇUS
0
RANG
of 20 282
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 154 544
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
Question
sparse2matrix random error
function [matrix]= sparse2matrix(incell); X=size(incell); q=X(2)-2; msize=incell{1}; mdef=incell{2}; matrix=repmat(mdef,msi...
plus de 5 ans il y a | 9 réponses | 0
9
réponsesI get an error, what's wrong? on Sparse matrix logic and answer
function [matrix]= sparse2matrix(incell); X=size(incell); q=X(2)-2; msize=incell{1}; mdef=incell{2}; matrix=repmat(mdef,msi...
plus de 5 ans il y a | 0
Question
sparse 2matrix getting an error
function A=mysp2matsp(rowIdx,colIdx,entries) %% transform three-arrays sparse matrix to matlab sparse matrix nrow = size(r...
plus de 5 ans il y a | 1 réponse | 0
0
réponseQuestion
Write a function called sparse2matrix that takes a single input of a cell vector as defined above and returns the output argument called matrix, the matrix in its traditional form
cellvec = {[2 3], 0, [1 2 3], [2 2 -3]}; matrix = sparse2matrix(cellvec) matrix = 0 3 0 0 -3 0 fun...
plus de 5 ans il y a | 10 réponses | 0
10
réponsesQuestion
Write a function called get_distance that accepts two character vector inputs representing the names of two cities. The function returns the distance between them as an output argument called distance. For example, the call get_distance('Seattle, WA'
function distance = get_distance(x,y) [~,~,raw] = xlsread('Distances.xlsx'); col_labels = raw(1,:); row_labels = ...
plus de 5 ans il y a | 22 réponses | 0
22
réponsesQuestion
Homework: Write a function called char_counter that counts the number of a certain character in a text file.
Write a function called char_counter that counts the number of a certain character in a text file. The function takes two inpu...
plus de 5 ans il y a | 5 réponses | 0
5
réponsesQuestion
counting no .of temperature less than 32 in array
function numfreeze = freezing(v) count = 0; i =v() j = 32 if i < 32 count = count+1 numfreeze = count else end ...
plus de 5 ans il y a | 6 réponses | 0
6
réponsesQuestion
finding next prime number
function k=next_prime(n) while true; n = n+1 for i in rng(2:n): if mod(n,i) == 0 break ...
plus de 5 ans il y a | 1 réponse | 0
1
réponseQuestion
Write a function called under_age that takes two positive integer scalar arguments: age that represents someone's age, and limit that represents an age limit. The function returns true if the person is younger than the age limit. If the second arg
function too_young = under_age(age,limit) limit = 21 if age <= limit too_young = true; elseif age >= limit too_you...
plus de 5 ans il y a | 27 réponses | 0