Community Profile

# TallBrian

### GE Healthcare

56 2016 이후 총 참여 횟수

Design engineer in healthcare

#### TallBrian's 배지

세부 정보 보기...

참여 게시물
보기 기준

질문

Call a function in a sub directory?
Suppose a have a folder "folder1" which contains a function "sayhi.m". "folder1" contains a subfolder "subfolder1" which contai...

6달 전 | 답변 수: 2 | 0

### 2

답변

질문

Is there an easy way to build a test suite from all tests in a folder containing multiple packages?
I have a non-package directory, containing several packages. Each package may contain subpackages. The packages have class-bas...

6달 전 | 답변 수: 2 | 1

### 2

답변

질문

Return data from GUIDE on figure close
I have a GUIDE generated UI in which I have wired up one of computed values, to handles and return it through automatically gene...

9달 전 | 답변 수: 2 | 0

### 2

답변

질문

Fast interp1 on multiple vectors, same X, but different V and Xq per vector
I have many (numVec) 1-D vectors, each of which is sampled at the same many (numSamp) times. I want to do 1-D interpolation for...

2년 이하 전 | 답변 수: 1 | 0

### 1

답변

해결됨

Solitaire Cipher
Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cipher>. Since this is from Wikipedia, I am capturin...

3년 이상 전

해결됨

How long is the longest prime diagonal?
Stanislaw Ulam once observed that if the counting numbers are <http://en.wikipedia.org/wiki/Ulam_spiral arranged in a spiral>, t...

3년 이상 전

해결됨

Find the biggest empty box
You are given a matrix that contains only ones and zeros. Think of the ones as columns in an otherwise empty floor plan. You wan...

3년 이상 전

해결됨

Find a subset that divides the vector into equal halves
Given a vector x, return the indices to elements that will sum to exactly half of the sum of all elements. Example: Inpu...

3년 이상 전

해결됨

Spot the outlier
All points except for one lie on a line. Which one is the outlier? Example: You are given a list of x-y pairs in a column ...

3년 이상 전

해결됨

The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

3년 이상 전

해결됨

Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

3년 이상 전

해결됨

Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

3년 이상 전

해결됨

Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

3년 이상 전

해결됨

Sum all integers from 1 to 2^n
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.

3년 이상 전

해결됨

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

3년 이상 전

해결됨

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

3년 이상 전

답변 있음
how to convert the temperature from matrix 4d?
Hi Camila, Your data is 4-D which means that every data point corresponds to a point in dimensions. So, when you say, I need...

3년 이상 전 | 0

제출됨

Wave Surfer Oscilloscope ASCII waveform dump reader
Reads LeCroy Wavesurfer Oscilloscope ASCII waveform into Matlab memory

3년 이상 전 | 다운로드 수: 0 |

해결됨

Make a run-length companion vector
Given a vector x, return a vector r that indicates the run length of any value in x. Each element in r shows how many times the ...

3년 이상 전

해결됨

How many trades represent all the profit?
Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...

3년 이상 전

해결됨

Flag largest magnitude swings as they occur
You have a phenomenon that produces strictly positive or negative results. delta = [1 -3 4 2 -1 6 -2 -7]; Marching thr...

3년 이상 전

해결됨

Given a window, how many subsets of a vector sum positive
Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

3년 이상 전

답변 있음
How to update a value in a different location from a matrix after performing check at one location in MATLAB?
What you have is a cell array. If you want to do a function on every element of a cell array you can use cellfun. Here if you ...

3년 이상 전 | 0

답변 있음
Difficulty plotting values from a for loop
Yes, your graph is redrawing each time through the loop. You can add the command hold on; after the plot and then the n...

3년 이상 전 | 0

| 수락됨

해결됨

Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

3년 이상 전

해결됨

Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

3년 이상 전

해결됨

Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

3년 이상 전

해결됨

Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

3년 이상 전

해결됨

The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

3년 이상 전

해결됨

Remove the vowels
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...

3년 이상 전