Answered

Java error when opening fig files

I solved this problem by running MATLAB as administrator.

Java error when opening fig files

I solved this problem by running MATLAB as administrator.

1 year ago | 1

Submitted

Integer partitions

Finds all partitions of a set containing homogenous elements, also called integer partitions.

3 years ago | 3 downloads |

Answered

Bode diagram to Nichols curve

Since you have the mag and phase data for bode plot is open loop You can just plot a Nichols plot yourself by transforming the ...

Bode diagram to Nichols curve

Since you have the mag and phase data for bode plot is open loop You can just plot a Nichols plot yourself by transforming the ...

5 years ago | 0

Answered

Binning for a histogram.

Make an array with A=[energy sum] Then use: A=sortrows(A); hist(A(:,2),A(:,1))

Binning for a histogram.

Make an array with A=[energy sum] Then use: A=sortrows(A); hist(A(:,2),A(:,1))

5 years ago | 0

Answered

finding the equation of spline in matlab

Your question is ambigious. Are you trying to fit a spline to a spline or some data you don't know its nature? You can't ea...

finding the equation of spline in matlab

Your question is ambigious. Are you trying to fit a spline to a spline or some data you don't know its nature? You can't ea...

5 years ago | 0

Answered

Input argument "" is undefined

function ll=p_ll(theta) is p_ll with letter L not number ONE maximize(@p_11,theta,2,1,0); you put it as p_11 with number...

Input argument "" is undefined

function ll=p_ll(theta) is p_ll with letter L not number ONE maximize(@p_11,theta,2,1,0); you put it as p_11 with number...

5 years ago | 0

Answered

could you please make a complete code about the following question???

It's not hard of a question if I understand what Lee means as it stands From the first part: X[n]*h[n]=[20cos(5πn+ π/3)+cos(200π...

could you please make a complete code about the following question???

It's not hard of a question if I understand what Lee means as it stands From the first part: X[n]*h[n]=[20cos(5πn+ π/3)+cos(200π...

5 years ago | 0

| accepted

Answered

having one "for" loop instead of two

Your code does not make sense because it's overwriting c each time you loop it Your answer is just equal to c = last a + last b...

having one "for" loop instead of two

Your code does not make sense because it's overwriting c each time you loop it Your answer is just equal to c = last a + last b...

5 years ago | 0

Answered

Overlapping graphs

You can either normalize all the axes so that they fit within the same scale on a common axis and plot the data in different col...

Overlapping graphs

You can either normalize all the axes so that they fit within the same scale on a common axis and plot the data in different col...

5 years ago | 0

Answered

command of alignment for general sequences

What sequence? If you mean any two numerical sequences which are correlated. Their alignment can be done by using cross correla...

command of alignment for general sequences

What sequence? If you mean any two numerical sequences which are correlated. Their alignment can be done by using cross correla...

5 years ago | 0

Answered

parfor - how do I "slice" a variable? Can I?

Make sure the following requirements are satisfied: * Type of First-Level Indexing — The first level of indexing is either pa...

parfor - how do I "slice" a variable? Can I?

Make sure the following requirements are satisfied: * Type of First-Level Indexing — The first level of indexing is either pa...

5 years ago | 0

Responded

Re: Data type for matrix multiplication

That is the data symbol for a sparse matrix, which is basically a matrix with smaller memory footprint if the elements are mostl...

5 years ago | 1222 views

Answered

Can anyone tell me why my function is taking so long to run?

Please read in the MATLAB help about the use of profiler to isolate lines of code which takes most of time to run. There are als...

Can anyone tell me why my function is taking so long to run?

Please read in the MATLAB help about the use of profiler to isolate lines of code which takes most of time to run. There are als...

5 years ago | 0

Responded

Re: Vectorization help

Oh sorry You can also use the filter function: y(1) = T(1) y(2) = T(2)-l(1)T(1) y(3) = T(3) - l(2)y(2) = T(3) - l(2)l(1)T(2) - ...

5 years ago | 1338 views

Answered

Speeding up code

Parfor is not really beneficial unless you have quad cores or comput clusters. Looking at your code it will benefit a lot from v...

Speeding up code

Parfor is not really beneficial unless you have quad cores or comput clusters. Looking at your code it will benefit a lot from v...

5 years ago | 0

Responded

Re: Vectorization help

can be given as vectorized form: y(1) = T(1)

5 years ago | 1338 views

Answered

evaluate diameter of moving bubbles

What's the acquisition device? From a 2D image or 3D model? If you have good image processing so that the bubble is a silhoue...

evaluate diameter of moving bubbles

What's the acquisition device? From a 2D image or 3D model? If you have good image processing so that the bubble is a silhoue...

5 years ago | 0

Answered

one line takes ages, but is it possible to optimise any more?

Sorry I may have misinterpreted your question But then it seems easy to me You use use Data(circ) to extract a linear vect...

one line takes ages, but is it possible to optimise any more?

Sorry I may have misinterpreted your question But then it seems easy to me You use use Data(circ) to extract a linear vect...

5 years ago | 0

Answered

one line takes ages, but is it possible to optimise any more?

Your code is running slow because MATLAB is not good for running serial for loops. It's good for vectorised calculations. Wh...

one line takes ages, but is it possible to optimise any more?

Your code is running slow because MATLAB is not good for running serial for loops. It's good for vectorised calculations. Wh...

5 years ago | 0

Answered

Singleton dimention as last dimension in matrix

64 x 64 x 1 with all due consideration is identical to 64 x 64... You with see why with zeros(5,5,1), zeros(5,5,2) and zeros(...

Singleton dimention as last dimension in matrix

64 x 64 x 1 with all due consideration is identical to 64 x 64... You with see why with zeros(5,5,1), zeros(5,5,2) and zeros(...

5 years ago | 3

Answered

Why are the times took for consequent tocs not consistent?

I would personally use multiple tic tocs instead of tic then multiple tocks. tic tocs are meant to be used as a pair, that's the...

Why are the times took for consequent tocs not consistent?

I would personally use multiple tic tocs instead of tic then multiple tocks. tic tocs are meant to be used as a pair, that's the...

5 years ago | 0

Responded

Re: finding consecutive 0's in a vector and replacing it by 1's

Sorry there was a typo with c(celllogicIndC) , should have been c(logicIndC) ============== Randpool = {[1 1 0 1],[0 0 1 1], [...

5 years ago | 2524 views

Responded

Re: finding consecutive 0's in a vector and replacing it by 1's

Randpool = {[1 1 0 1],[0 0 1 1], [0 1 0 0 ], [0 1 1 0],[0 1 1 1],[1 0 1 0],[1 0 1 1],[1 1 0 0],[1 1 1 0],[1 1 1 1]}; c = SplitVe...

5 years ago | 2524 views

Submitted

Cummulative (dim 2) products across all permutations of distinct column-indices

Sum column element products for all permutations of distinct column indices + user restrictions

5 years ago | 0 downloads |