Community Profile

# Craig

### Applied Research Associates Inc

Last seen: Today 2012년부터 활동

All

배지 보기

#### Content Feed

보기 기준

질문

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

대략 2개월 전 | 답변 수: 1 | 0

### 1

답변

질문

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

6개월 전 | 답변 수: 2 | 0

### 2

답변

답변 있음
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...

12개월 전 | 0

질문

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년 전 | 답변 수: 1 | 0

### 1

답변

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

3년 초과 전 | 2

질문

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

3년 초과 전 | 답변 수: 1 | 0

### 1

답변

질문

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년 초과 전 | 답변 수: 0 | 0

### 0

답변

질문

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년 전 | 답변 수: 1 | 0

### 1

답변

질문

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년 전 | 답변 수: 1 | 0

### 1

답변

질문

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년 전 | 답변 수: 0 | 0

### 0

답변

문제를 풀었습니다

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

거의 12년 전

문제를 풀었습니다

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년 전

문제를 풀었습니다

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년 전

문제를 풀었습니다

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

거의 12년 전

문제를 풀었습니다

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

거의 12년 전

문제를 풀었습니다

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년 전

문제를 풀었습니다

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년 전

문제를 풀었습니다

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년 전

문제를 풀었습니다

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년 전

문제를 풀었습니다

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년 전

문제를 풀었습니다

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년 전

문제를 풀었습니다

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년 전

문제를 풀었습니다