Professional Interests: MATLAB, teaching, numerics, science, glassblowing
Top 1% contributor
Files from webinar for IRIS
4 months ago
First, Mike, there is no reason to preallocate the vector b with zeros since you overwrite the variable in the next statement.
Answered 2 years ago
Marwan N" <firstname.lastname@example.org> wrote in message news:email@example.com... Will the subspace function do what you...
4 years ago
Roger Stafford" <firstname.lastname@example.org> wrote in message news:email@example.com... Roger- W...
5 years ago
Gireg " <firstname.lastname@example.org> wrote in message news:email@example.com... It's much simpler than that: cl...
1 year ago
In article <firstname.lastname@example.org>, email@example.com says... shouldn't be too hard without a function......
Tanvir Mudhar" <firstname.lastname@example.org> wrote in message news:email@example.com... = is the assignment operator....
Nils Tobias " <nils.kraemerREMOVE@uni-ulm.de> wrote in message news:firstname.lastname@example.org... Do what dpb said - look...
In article <email@example.comYaTP>, firstname.lastname@example.org says... If you copy/paste Peter's response, you will see he has a ...
9 years ago
In article <email@example.com>, firstname.lastname@example.org says... At least in part because the file, sitting where it is...
In article <email@example.com>, firstname.lastname@example.org says... The reason this is NOT a load bug is that by the time ...
Remove all the vowels in the given phrase.
Input s1 = 'Jack and Jill went up the hill'
Output s2 is 'Jck nd Jll wn...
5 months 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.
2 years 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...
There will always be at least one prime in the matrix.
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.
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.
[1 2 3] and [10 15 20]
should result in
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.]
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...
Join the conversation