# Abhishek singh

**Statistics**

RANK**259,763**

of 273,349

REPUTATION**0**

CONTRIBUTIONS

**8** Questions

**1** Answer

ANSWER ACCEPTANCE **
12.5%
**

VOTES RECEIVED**0**

RANK

of 18,453

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 122,748

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

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...

4 years ago | 9 answers | 0

### 9

answersI 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...

4 years ago | 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...

4 years ago | 0 answers | 0

### 0

answersQuestion

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...

4 years ago | 10 answers | 0

### 10

answersQuestion

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 = ...

4 years ago | 21 answers | 0

### 21

answersQuestion

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...

4 years ago | 5 answers | 0

### 5

answersQuestion

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 ...

4 years ago | 6 answers | 0

### 6

answersQuestion

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 ...

4 years ago | 1 answer | 0

### 1

answerQuestion

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...

4 years ago | 26 answers | 0