回答済み
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 ...

9年以上 前 | 1

| 採用済み

回答済み
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...

9年以上 前 | 0

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

9年以上 前 | 1

回答済み
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...

9年以上 前 | 0

| 採用済み

回答済み
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 ...

9年以上 前 | 0

回答済み
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...

9年以上 前 | 1

回答済み
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...

9年以上 前 | 0

回答済み
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....

9年以上 前 | 0

回答済み
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...

9年以上 前 | 0

回答済み
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) ...

9年以上 前 | 0

回答済み
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...

9年以上 前 | 1

| 採用済み

回答済み
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...

9年以上 前 | 0

回答済み
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...

9年以上 前 | 0

| 採用済み

回答済み
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...

9年以上 前 | 0

| 採用済み

回答済み
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...

9年以上 前 | 1

回答済み
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...

9年以上 前 | 0

回答済み
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 ...

9年以上 前 | 0

| 採用済み

回答済み
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...

9年以上 前 | 0

回答済み
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| ...

9年以上 前 | 0

| 採用済み

回答済み
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 , []...

9年以上 前 | 0

| 採用済み

回答済み
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 ...

9年以上 前 | 0

回答済み
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...

9年以上 前 | 0

| 採用済み

回答済み
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...

9年以上 前 | 0

| 採用済み

回答済み
Efficient Weighted Moving average
N=5; yavN=conv(v(:,2).*v(:,3),ones(1,N)/N,'valid'); discarding the zero-padded end values. See doc conv % for oth...

9年以上 前 | 2

回答済み
financial time series obiect: get a column by name string?
Again, similarly to the other question, relate it to the _struct_; I didn't find the similar documentation under the financial T...

9年以上 前 | 0

| 採用済み

回答済み
str2func vectorize input x1, x2 to x
You didn't follow your previous successful pattern... f1 = str2func(['@(x,u)' str1]); as written is the concatenation of...

9年以上 前 | 1

| 採用済み

回答済み
Finding and counting numbers from one matrix in another
Is fairly simple, yes, but have to think about it a while to find "the Matlab way"... :) There's always another way, but what...

9年以上 前 | 2

| 採用済み

回答済み
Duplicate file name when using textscan
There's _always_ a reason, yes... :) However, we can't tell what that reason might be for certain but the crystal seems fairl...

9年以上 前 | 0

回答済み
How to remove rows contain 0 in matrix
OK, had some time to try to deduce how the output was produced...other than there's an error in the original in that the first r...

9年以上 前 | 0

回答済み
How to search in excel file ?
In general you'll be better off reading the Excel file and doing any search/selection in memory discarding what you don't need i...

9年以上 前 | 0

さらに読み込む