Community Profile

Professional Interests: MATLAB, teaching, numerics, science, glassblowing

Contact

Top 1% contributor

First, Mike, there is no reason to preallocate the vector b with zeros since you overwrite the variable in the next statement. ...

1

Answered 2 years ago

Marwan N" <munna860@gmail.com> wrote in message news:il9t55$en6$1@fred.mathworks.com... Will the subspace function do what you...

189238 views

Responded 4 years ago

Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message news:i221e8$3du$1@fred.mathworks.com... Roger- W...

3 downloads

5 years ago

Gireg " <laniole84@hotmail.fr> wrote in message news:loemud$8p2$1@newscl01ah.mathworks.com... It's much simpler than that: cl...

65958 views

Responded 8 months ago

In article <hmgnhq$o9c$1@fred.mathworks.com>, b.luong@fogale.findmycountry says... shouldn't be too hard without a function......

46647 views

Responded 5 years ago

Tanvir Mudhar" <tanvir.husky@gmail.com> wrote in message news:i9kq53$chf$1@fred.mathworks.com... = is the assignment operator....

46479 views

Nils Tobias " <nils.kraemerREMOVE@uni-ulm.de> wrote in message news:i9pgcf$eum$1@fred.mathworks.com... Do what dpb said - look...

28854 views

In article <ef2de75.8@webx.raydaftYaTP>, weinsteini@saic.com says... If you copy/paste Peter's response, you will see he has a ...

23937 views

Responded 9 years ago

In article <hi53a2$nps$1@fred.mathworks.com>, us@neurol.unizh.ch says... At least in part because the file, sitting where it is...

20636 views

In article <hhqcom$loc$1@fred.mathworks.com>, us@neurol.unizh.ch says... The reason this is NOT a load bug is that by the time ...

Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

Solve this!

1 month ago

Determine the rank of a matrix without using the MATLAB function of the same name.

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

1 year ago

Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

Change the sign of all elements in given matrix.

Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

2 years ago

There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

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 number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

Given the input n, return true if n is odd or false if n is even.

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

3 years ago

At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

Load more