Community Profile

Contact

Professional Interests: bioinformatics

Top 1% 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 3 years 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 5 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...

34722 views

Responded 6 years ago

2 downloads

6 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 5 years ago

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

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

15088 views

Responded 9 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 9 years ago

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

13721 views

Responded 8 years ago

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

Posted 8 years ago

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

13341 views

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

5755 views

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

4922 views

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

Solve this!

3 years 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

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries