Community Profile

Professional Interests: bioinformatics

Contact

Top 5% contributor

I am teaching some matlab classes and we have some version-ing issues ... some students use versions as old as 2008b and some of...

1 Answers

1

Asked 1 year ago

You won't be able to load them all at once but you could easily use a for-loop to process them one at a time. Something like thi...

accepted

Answered 3 years ago

I've downloaded the example files and it seems like the testsuite_sample.mat file is corrupt and won't unzip properly. Is anyon...

25582 views

Responded 5 years ago

4 downloads

5 years ago

I'm using corr to calculate the p-value for the correlation between two datasets. It keeps returning a p-value of Zero. Do...

0

Asked 3 years ago

I'm grading hundreds of student assignments using a semi-automated method. However, a large portion of the students have includ...

Asked 4 years ago

operations are not really steps are taken. 'find' operation can hopefully, a little processed in the array, and z will be ...

11599 views

Responded 7 years ago

Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> <fjp9pj$p8g direction following y matrix below 'desired1' matrix ca...

I am trying to find a speedy way to find the number of consecutive 1's in a vector of logicals in with the following type of out...

Posted 7 years ago

You don't necessarily need something that communicates when an iteration is done ... you just need something that can tell a wai...

9121 views

I was wondering if anyone has found a way to do progressbars for the new parfor loops in R2007b and 2008a. For normal for-loops...

Luca Cerone" <cerone@to-see.it> wrote in message This is a good case for using textscan. Something like: wanted_cols=[1 39 5...

4919 views

Wu Zhiyong" <wuzhiyong_163@163.com> wrote in message If you switch to textscan, which is virtually a drop-in replacement, then...

4756 views

roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote in message <fjpajg$8tp$1@canopus.cc.umanitoba.ca>... 10 mbit Anderson ...

3726 views

Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

Solve this!

1 year ago

Given two numeric inputs a and b, return a row vector that contains the numbers found in only a or only b, but not both. For ex...

for an n-dimensional vector x, the function should return another vector 2n-dimension which each element is repeated twice. Ex...

Replicate each element of a row vector (with NaN) a constant number of times. Examples : n=2, A=[1 2 3] -> [1 1 2 2 3 3] n=0...

If you have two matrices, which together give xc and yc coordinates into another matrix, eg : xc = [1 1 1; 2 2 1]; ...

Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

Given a and b, return the sum a+b in c.

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

Load more