Top 5% contributor
I am trying to launch MATLAB on a workstation with the Parallel Computing Toolbox (2012a) from a laptop. I can ssh to the work...
Asked 3 years ago
Read data from binary files created by Tektronix digitizers.
6 years ago
Matt, Once again, the problem looks like one of convention. Your correction factor is (2*pi)*1000. The first component is pro...
8 years ago
Matt, You are almost there. The trick is that fft and ifft use a different convention than you for storing negative frequencie...
Is there a way to suppress the line number display when using the error command? For example, the following statement in a func...
Suppose you have a toolbox that recognizes a variety of user preferences that are to be reused throughout a MATLAB session. Wh...
Asked 16 days ago
Is there a way to change the attributes of a class without using dynamicprops? I would like to be able to hide and reveal prope...
Asked 2 years ago
I'm working on a MATLAB program to perform various operations (e.g., differentiation) in the frequency domain. the input signal ...
8 years ago
Bertrand, How is the size of each figure specified? You might be able to change your units from an absolute setting (e.g., pix...
7 years ago
Is there a way to suppress super class methods and events? For example, a class based on handle:
Asked 4 years ago
This may be a silly question, but it's stumping me... Suppose you want to model thermal diffusion between two material layers i...
7 years ago
Daniel Dolan" <firstname.lastname@example.org> wrote in message <email@example.com>... With some experimentation, I...
I'm working on MATLAB GUI for use on Mac and Windows, and have noticed some strange font behavior. To maintain a consistent lay...
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...
14 days ago
Given two lists of numbers, determine the weighted average.
[1 2 3] and [10 15 20]
should result in
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.]
15 days ago
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN.
Triangle numbers are the sums of successive integers. So 6 is a triangle number because
6 = 1 + 2 + 3
which can be displa...
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
16 days ago
Remove the nth column from input matrix A and return the resulting matrix in output B.
A = [1 2 3; 4 5 6];
Regardless of input, output the string 'yes'.
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
Given the input n, return true if n is odd or false if n is even.
Given a and b, return the sum a+b in c.
Find the sum of all the numbers of the input vector x.
Input x = [1 2 3 5]
Output y is 11
Input x ...
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
4 years ago
Thanks for the feedback. I considered storing the function text in the figure, then dumping this information to local files wit...
5 years ago