Community Profile

photo

Craig


Applied Research Associates Inc

Last seen: 15 days ago Active since 2012

Statistics

All
  • Thankful Level 2
  • Explorer
  • First Answer
  • First Review
  • Commenter
  • Speed Demon
  • Solver

View badges

Content Feed

View by

Question


Labelling Curves on a Graph, This code worked a decade ago, but will not work in 2023a
This code worked fine a decade ago, but will not work in 2023a X = [0 1100 1600 2400 2400 2800 3400 3800]; Y = fliplr(X); fig...

3 months ago | 1 answer | 0

1

answer

Question


parfor variable classification issue revisited
I have a million (literally) text files that I need to read a number from. I currently do this in a nested loop as such: len_A...

8 months ago | 2 answers | 0

2

answers

Answered
How do I interpolate and plot 3-D surfaces in MATLAB?
Also, see: https://www.mathworks.com/matlabcentral/fileexchange/5105-making-surface-plots-from-scatter-data uses Delaunay h...

1 year ago | 0

Question


How to obtain Real and Imaginary parts of symbolic polynomial
I have the below code. I cannot figure out how to obtain the real and imaginary parts of the symbolic polynomial (I have alread...

3 years ago | 1 answer | 0

1

answer

Answered
How to extract all the rows which match an specific string column
Use: T_dunita = strcmp(T.geol_unit, 'Dunita')

3 years ago | 2

Question


Optimizing constants applied to multiple vectors with multiple constraints
Hello, I have 6 vectors given below. I would like to find two constants, a and b, such that: 1) the elements of sqrt( (a*U).^2...

4 years ago | 1 answer | 0

1

answer

Question


How to create a penalty function in two dimensions for a profile curve?
Hello, I have a computer model that models a physical process that is represented by the black line shown in the attached figure...

4 years ago | 0 answers | 0

0

answers

Question


Bessel Filter -3dB frequency
The documentation for besself states: "[b,a] = besself(n,Wo) returns the transfer function coefficients of an nth-order lowpass...

5 years ago | 1 answer | 0

1

answer

Question


Need to Rotate Set of 3D Data
Hello I have attached a pdf file with significantly more details, graphs, and explanations. I would like to rotate a 3D set of...

5 years ago | 1 answer | 0

1

answer

Question


Vectorized indexing cell array
I have several (5000+) pressure-time histories in a cell array Data. Each cell in the Data array holds a two column vector of t...

10 years ago | 0 answers | 0

0

answers

Solved


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

12 years ago

Solved


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

12 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

12 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

12 years ago

Solved


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

12 years ago

Solved


Put two time series onto the same time basis
Use interpolation to align two time series onto the same time vector. This is a problem that comes up in <http://www.mathwork...

12 years ago

Solved


Sort a list of complex numbers based on far they are from the origin.
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...

12 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

12 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

12 years ago

Solved


Distance walked 1D
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...

12 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

12 years ago

Solved


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

12 years ago

Solved


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

12 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

12 years ago