photo

darksideofthemoon101


2011년부터 활동

Followers: 0   Following: 0

메시지

통계학

  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


matlab and newport agilis controllers
Hi, I know this is a long shot, but has anyone tried talkinf to a Newport Agilis-P Controller using Matlab? The device uses a...

대략 12년 전 | 답변 수: 1 | 0

1

답변

질문


move element in array
Hi, I have an array of n elements, let's say for example: [0 1 2 3 4 5] I want to move the position of one of the eleme...

12년 초과 전 | 답변 수: 2 | 1

2

답변

질문


clim in pcolor plot
Hi, I have a pcolor plot that I want to set the color limits on. My code is pcolor(X,Y,f(data)) shading interp bu...

13년 초과 전 | 답변 수: 2 | 0

2

답변

질문


extract matrix from for loop
Hi, I want to extract a 2x2 matrix from each iteration of a for loop. Normally I would use something like for loop=1:1:1...

13년 초과 전 | 답변 수: 2 | 0

2

답변

질문


code running differently on 2 machines
Hi, I'm running code on 2 machines, 1 laptop and 1 desktop. I have an array that comes out of a loop, 'answer1', and the when...

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

1

답변

질문


and if in matlab?
Hi, I want to run an if loop with 2 conditions, but I can't see an "and-if" equivalent. Eg: if 0<x<1 *and y2<y1* ...

13년 초과 전 | 답변 수: 2 | 0

2

답변

질문


array rearrangement
Hi, I have an array of MxN numbers, and I want to rearrange it so that the numbers are all in one column: 1 2 4 5 3 6 7 8...

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

1

답변

질문


array muddle problem
Hi, I have an array composed of pairs of variables, X=[a1 a2 b1 b2 c1 c2..] and I want to modify each PAIR by a sma...

13년 초과 전 | 답변 수: 2 | 0

2

답변

질문


assigning probability
Hi, I'm doing a basic simulated annealing experiment and I want to assign a probability to decide whether a variable change i...

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

1

답변

질문


extracting values from embedded for loops
Hi, I have one loop embedded inside another and want to extract the innermost value for each change in both the inner loop an...

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

1

답변

질문


program runtime question
Hi, I have a program that (for what I've done so far) takes a long time to run (~4s per loop). In the final version of the co...

13년 초과 전 | 답변 수: 2 | 0

2

답변

답변 있음
RMS error of matrices
I've been using rms = sqrt((A - B)^2)) How dissimilar are these equations?

13년 초과 전 | 0

질문


RMS error of matrices
Hi, I have 2 large matrixes (2048x2048), and have taken one away from the other to get a 'difference' matrix. I want to quant...

13년 초과 전 | 답변 수: 2 | 0

2

답변

질문


add array to end of itself n times
Hi, I have an array x=(y1,y2) and I want to add copy the values in the array and add them to the end of the array, such as ...

13년 초과 전 | 답변 수: 1 | 1

1

답변

질문


for loop with non-linear input
Hi, I have an array 'layer' that I want to randomise and use in a for loop, in the randomised order. layer=0.05:0.0025:0...

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

1

답변

답변 있음
randomise array with non-integer values
Never mind, I solved the problem this way: X=0.05:0.0025:0.15; randomiser = randperm(length(layer)); X=X(randomiser);...

13년 초과 전 | 0

| 수락됨

질문


randomise array with non-integer values
Hi, I want to randomise the elements in a 1-D array. I can't use randperm as the elements are non-integer values. Any ideas? ...

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

1

답변

질문


random elements from specific rows in matrix
Hi, I have a 2x10 matrix and I want to select a random element from each row. I have found how to select random elements from...

13년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Can I use a for loop to access different pairs in a matrix?
I want to use a matrix as the input of a for loop, and reference different pairs of indices in the matrix as the variable for ea...

13년 초과 전 | 답변 수: 2 | 0

2

답변

질문


fminsearch with 2 variables - help please!
Hi, I want to use fminsearch to find the minimum of 2 variables, but I don't understand how the fminsearch function works in ...

거의 14년 전 | 답변 수: 1 | 0

1

답변