Community Profile

# charu sharma

Active since 2015

View badges

#### Content Feed

View by

Answered
I tried many times but can't get solution....plz help me
Try this: http://farzicoders.blogspot.in/2015/08/write-function-called-sparsearrayout.html

meer dan 6 jaar ago | 0

Answered
how to find the total no of letters in a text file in matlab
you can try this: http://farzicoders.blogspot.in/2015/08/write-function-called-lettercounter.html

meer dan 6 jaar ago | 0

Answered
how to find the element which is greater than or equal to its row and smaller or equal to its column in a matrix
You should use two for loops to check for each element of a row and a column. Refer this for much simpler code: http://farzicod...

meer dan 6 jaar ago | 0

Answered
I need a function that returns the smallest prime number p smaller than 100,000 such that (p + n) is also prime, where n is a scalar integer and is the sole input argument to the function
For simple code refer this and ask if you have any query: http://farzicoders.blogspot.in/2015/08/write-function-called-primepai...

meer dan 6 jaar ago | 0

Answered
How do I "backward" a string in matlab: turn "a" into "z", "b" into "y", "c" into "x", etc.
For a simple understanding you can follow this too: http://farzicoders.blogspot.in/2015/08/write-function-called-codeit-that-ta...

meer dan 6 jaar ago | 0

Answered
how to make function that return struct vector whose elements are days of month
you need to mention the number of dates in MAY that is 1 to 31 and days Here is the more simple solution for you: http://farzi...

meer dan 6 jaar ago | 0

Answered
how to seperate even or odd elements and make row vectors from a matrix
Your order of output is not correct as they asked even ones in first output. You can refer this for different solution of same ...

meer dan 6 jaar ago | 0

Answered
A problem based on Matrix Division
There is no need of any loop, logical indexing can be used and it can be done in one line. Refer this with explanation: http://f...

meer dan 6 jaar ago | 0

Answered
how to make a function that takes a matrix and integer and divide every divisible element of matrix by integer
There is no need of if else case, it can be done in one line. Refer this with explanation: http://farzicoders.blogspot.in/2015...

meer dan 6 jaar ago | 0

Answered
how to make a function that take an integer as input and return ture if this prime otherwise false
For number n being prime, if it is divisible by any of the numbers from 2 to n/2 then it is not prime so you just need to check ...

meer dan 6 jaar ago | 0

Answered
I don't understand what is the problem.....i tried it, but get an error. So plz help me to solve the problem...
You can refer this: http://farzicoders.blogspot.in/2015/08/write-function-called-integerize-that.html

meer dan 6 jaar ago | 0