Respondida
How can I Name matrices by giving input ???
See the FAQ <http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C....2CA10_in_a_loop.3F <How can I create var...

más de 9 años hace | 0

Respondida
Real-time heart rate calculation
I'm going to put this as an Answer to emphasize the point again...your timing code of just a single read in a tight loop shows t...

más de 9 años hace | 1

Respondida
How to write the values at an axes in a usual plot in Matlab R2014a in Latex style?
Works with R2014b; I suspect that was the release in which the additional property was introduced; I wasn't aware of it until th...

más de 9 años hace | 0

Respondida
How do I change the default axis color and axis label text to black?
Read <http://www.mathworks.com/help/matlab/creating_plots/default-property-values.html <DefaultPropertyValues>> for the "how" wh...

más de 9 años hace | 2

Respondida
How to create a new vector with AM/PM labels from vector of times
Still learning way around the |datetime| object; may be more direct route... dtm=datetime(num2str([0:23].','%02d:00'),'inp...

más de 9 años hace | 0

Respondida
Why using textscan, if i use more than 4 columns, i get the first 4 columns with 2301 rows and the rest with 2300?
'Cuz the file format is extremely irregular with the header information at the beginning of each section and you've told *textsc...

más de 9 años hace | 0

| aceptada

Respondida
Convert .txt/.mat to .wav format
load('data.mat') will leave whatever the variable in the file name is as the variable in the workspace. Clearly it wasn't ...

más de 9 años hace | 1

| aceptada

Respondida
Make a figure a parent of text
Just retrieve the _'position'_ property of the LLH axes and reference from there using any of the non-data-related units so scal...

más de 9 años hace | 0

Respondida
Can someone explain me this code?
What, specifically, do you not understand after reading doc nargchk % which notes is deprecated, btw... and doc zeros ...

más de 9 años hace | 1

Respondida
How to write certain data in different sheets of an excel file?
See the FAQ <http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F 'Process sequence of files'>. While writ...

más de 9 años hace | 0

| aceptada

Respondida
Vectorization problem - using vectors as inputs for another matrix?
Well, outside the above comment, starting from inside out, temp = 1; for n=m+j-k+1:j temp = temp*P(i,n); end ...

más de 9 años hace | 0

Respondida
load mat file without overwriting excluded parameter properties in workspace
No can do if use same variable name; the selection process isn't more granular than the variable in the .mat file, not fields wi...

más de 9 años hace | 1

Respondida
If statement Alternative for listdlg Index?
Sure, that's what |*switch*| blocks are for... switch W1 case 1 NFA = RL*RH-Window1; case 2 SFA = R...

más de 9 años hace | 0

Respondida
How can I write a matlab script for median filter in temporal domain?
Results of any filtering operation are totally dependent upon the suitability of the chosen filter for the purpose and the data....

más de 9 años hace | 0

Respondida
How to fix "Subscripted Assignment Dimension Mismatch" and other potential errors
Result = Y(1:1:6); Data.set(:,1) = [q4(l) 0.387 0.415 0.382 0.345 0.314 0.244]; Data.set(:,2) = [q5(m) 0.0041 0.0185 0.0...

más de 9 años hace | 0

Respondida
Parse Error at '>' Issue
I use a utility "syntactic sugar" for such purposes... a=isinside(a,700,900); where function flg=isinside(x,lo,hi) ...

más de 9 años hace | 0

Respondida
How do I cut down the size of an array of data?
It'd be easier if there weren't different variables, but since they're inconsistent in length that makes it a little more of a p...

más de 9 años hace | 1

| aceptada

Respondida
How to analyze part of a signal?
Index into the result vector based on values of time; if you have a fixed timestep then it's simply T/dt intervals past T0 or th...

más de 9 años hace | 0

Respondida
data encryption embedding in vector
Taking a guess, without any error checking (there would have to be a minimum of length(shorter) zero elements in the longer arra...

más de 9 años hace | 0

| aceptada

Respondida
xlsread certain range of rows
You can enter any rectangular range argument to |xlsread| in Excel A1:X200 syntax. You must, however, know the ranges of intere...

más de 9 años hace | 0

| aceptada

Respondida
How do I store intermediate values of a while loop in an array?
No loops needed... a=NSC((MPRP(:,2)-1)*NCJT+1); b=a+1; c=NSC((MPRP(:,3)-1)*NCJT+1); d=c+1; More than likely kee...

más de 9 años hace | 1

Respondida
how matlab save long integers values without approximate it?
All variables in Matlab are double by default unless you make them something else explicitly. All the formats you've used are a...

más de 9 años hace | 0

Respondida
Find maximum on steady state condition from a vector (hard)
How about showing us a plot of a typical time trace? My first inclination would be to do some heuristic searches to find the ...

más de 9 años hace | 0

| aceptada

Respondida
Translate a matrix with nested loops?
Alternate B=circshift(A,[up right]); B(:,1:right)=0; B(end-up+1:end,:)=0; I've always thought there should be a compa...

más de 9 años hace | 0

Respondida
Why is one variable not printing to my text correctly?
Bad syntax... |[calc_alt calc_W alt_Bw alt_nm filenames]| you're concatenating unlike variables and passing that to |fprintf| ...

más de 9 años hace | 0

| aceptada

Respondida
What does the statement Ytraining = Y(:,1:230e3); mean? here, matrix Y is a matrix of dimensions 256x119025
_"Y is a matrix of dimensions 256x119025"_ Well, it may have been when it was computed in Y = getPatches2D( Im , p , []...

más de 9 años hace | 0

| aceptada

Respondida
How to set x-axis different range with same scale as the figure?
>> pow2(-3:3) ans = 0.1250 0.2500 0.5000 1.0000 2.0000 4.0000 8.0000 >> log2(ans) ans = -3 ...

más de 9 años hace | 0

Respondida
financial time series object - how to delete a column?
It's essentially just a structure so |rmfield| is implemented as is for a _struct_ object. Ain't the easiest thing to find that...

más de 9 años hace | 0

| aceptada

Respondida
Slow while loop generating coordinates in 3d matrix
idx=find(isfinite(before)); % all valid locations in 3D array with data [i,j,k]=ind2sub(size(before),idx(randperm(numel(i...

más de 9 años hace | 0

| aceptada

Cargar más