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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 2 个回答 | 0

2

个回答

已回答
RMS error of matrices
I've been using rms = sqrt((A - B)^2)) How dissimilar are these equations?

13 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 ...

13 years 前 | 1 个回答 | 0

1

个回答