Feeds
질문
Matlab suddenly crashes/exits with no error msg.
I have recently had a problem with Matlab suddenly exiting. I have not identified a spesific action that will make it close but...
10년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
How to get a sum of a series
t = 3:100; sumY=0; for i=0:2 sumY = sumY+sum(A(1+i)*X(t-i)) ; end like this?
How to get a sum of a series
t = 3:100; sumY=0; for i=0:2 sumY = sumY+sum(A(1+i)*X(t-i)) ; end like this?
거의 11년 전 | 1
| 수락됨
답변 있음
problem to arrange rows and columns with fprintf into world
Your are missing one of the numbers/chars . v is 3x4 not 3x3.
problem to arrange rows and columns with fprintf into world
Your are missing one of the numbers/chars . v is 3x4 not 3x3.
거의 11년 전 | 0
| 수락됨
답변 있음
Writing new column in Text file
As far as i know, there is no possability of writing in the middle of a file and have the rest of the data just shift along (cor...
Writing new column in Text file
As far as i know, there is no possability of writing in the middle of a file and have the rest of the data just shift along (cor...
거의 11년 전 | 0
답변 있음
Error using horzcat in a for loop
horzcat concatinates arrays in horizontal direction i.e x = [a , b] is horzcat. when you call B=[(1:p-1)' ,z] your are calling ...
Error using horzcat in a for loop
horzcat concatinates arrays in horizontal direction i.e x = [a , b] is horzcat. when you call B=[(1:p-1)' ,z] your are calling ...
거의 11년 전 | 0
| 수락됨
답변 있음
how to escape,reading line that starts with special character in a text file.
fid=fopen(filename); if(fid<0);error('unable to open file');end y=cell(500,1);%allocate some space, if you alloc...
how to escape,reading line that starts with special character in a text file.
fid=fopen(filename); if(fid<0);error('unable to open file');end y=cell(500,1);%allocate some space, if you alloc...
거의 11년 전 | 0
답변 있음
Generic code to import data from set of txt files?
To find all .txt files in a directory use: myDir = 'C:\iHaveStoredSomethingHere\'; %last backspace is important! di...
Generic code to import data from set of txt files?
To find all .txt files in a directory use: myDir = 'C:\iHaveStoredSomethingHere\'; %last backspace is important! di...
거의 11년 전 | 0
답변 있음
sampling rate and the filter output improvement
300 samples sounds about correct from fvtool. Try adding a trail of 300 zeros after your signal. Or get the filering method you ...
sampling rate and the filter output improvement
300 samples sounds about correct from fvtool. Try adding a trail of 300 zeros after your signal. Or get the filering method you ...
거의 11년 전 | 0
답변 있음
Usage of downsample function in 2012b
Undefined function means that the function does not exist, so parhaps there is a small typo in your call? Is the signal proc...
Usage of downsample function in 2012b
Undefined function means that the function does not exist, so parhaps there is a small typo in your call? Is the signal proc...
거의 11년 전 | 0
답변 있음
How to run a code for several files also how to stop the code for a specific number of files and give output?
PATH = 'C:\myFilesAreHere\'; %remember the last \ files=dir([PATH,'*.dat']) ; %get info about all files in PATH that e...
How to run a code for several files also how to stop the code for a specific number of files and give output?
PATH = 'C:\myFilesAreHere\'; %remember the last \ files=dir([PATH,'*.dat']) ; %get info about all files in PATH that e...
거의 11년 전 | 1
| 수락됨
답변 있음
How do I extract surface plot data from a figure?
x=1:5; y=1:5; z=randn(5,5); fprintf('z was : \n'); disp(z); figure;surf(x,y,z); clear all ch=get(...
How do I extract surface plot data from a figure?
x=1:5; y=1:5; z=randn(5,5); fprintf('z was : \n'); disp(z); figure;surf(x,y,z); clear all ch=get(...
거의 11년 전 | 0
답변 있음
How to find the crosspoint of two curve
If i have done this correctly this should give you the first point in yy before each zero crossing. y=[-0.1227 0.0581 0.0...
How to find the crosspoint of two curve
If i have done this correctly this should give you the first point in yy before each zero crossing. y=[-0.1227 0.0581 0.0...
거의 11년 전 | 0
질문
intel c++ composer 2011 with SKD 7.1 and R2013a
So i am trying to use the intel c++ composer XE 2011 (update 13) together SDK 7.1 to compile matlab mex functions. According t...
대략 11년 전 | 답변 수: 2 | 0
2
답변답변 있음
How to Sum Certain Values in Matrix A Based on Values of Matrix B in a Loop
Im not a 100% sure if this is what you asked for but ill have a go at it =) A=[0:23;... %hours 0 to 23 rand(15,24)];...
How to Sum Certain Values in Matrix A Based on Values of Matrix B in a Loop
Im not a 100% sure if this is what you asked for but ill have a go at it =) A=[0:23;... %hours 0 to 23 rand(15,24)];...
대략 11년 전 | 0
| 수락됨
답변 있음
loop until condition met
Vo = [30 15 13 10];% initial V old to calc Re and f. MaxIter=1e10; % Cntr=0; while true Cntr=Cntr+1; % ...
loop until condition met
Vo = [30 15 13 10];% initial V old to calc Re and f. MaxIter=1e10; % Cntr=0; while true Cntr=Cntr+1; % ...
대략 11년 전 | 0
| 수락됨
답변 있음
Area under autocorrelation function.
Initially i thought the previous answer was ok, but when reading your entire post you specified that you needed the FIRST positi...
Area under autocorrelation function.
Initially i thought the previous answer was ok, but when reading your entire post you specified that you needed the FIRST positi...
대략 11년 전 | 1
답변 있음
loop until condition met
A while loop is what you are looking for it seems. while ~all([Va==Vo,Vo==Vn]) %your code end
loop until condition met
A while loop is what you are looking for it seems. while ~all([Va==Vo,Vo==Vn]) %your code end
대략 11년 전 | 0
답변 있음
How to mark local peak values of a signal an count them? Matlab GUI
try this one? <http://www.mathworks.se/help/signal/ref/findpeaks.html> if you end up marking to many peaks, try playing ar...
How to mark local peak values of a signal an count them? Matlab GUI
try this one? <http://www.mathworks.se/help/signal/ref/findpeaks.html> if you end up marking to many peaks, try playing ar...
대략 11년 전 | 0
| 수락됨
답변 있음
How are vector - vector products calculated?
It is different, if you type type dot You will see that the actual computation done in dot after all the dimension check...
How are vector - vector products calculated?
It is different, if you type type dot You will see that the actual computation done in dot after all the dimension check...
대략 11년 전 | 3
| 수락됨
질문
Editor , undocking into two GROUPS
Hi, everyone! I was wondering if there was a way to undock say 50% of the open .m files and group them together? As of now i...
11년 초과 전 | 답변 수: 0 | 0
0
답변질문
c++ shared library startup options
Hi everyone. I have a question regarding compilation of c++ shared libraries and multithreading. When creating a standalone ...
11년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
How to remove this error??
You are indexing h as h(k+1,1) That way when k=80 you are assigning a new value to h(81)=h(80,1)-10; And thus t...
How to remove this error??
You are indexing h as h(k+1,1) That way when k=80 you are assigning a new value to h(81)=h(80,1)-10; And thus t...
11년 초과 전 | 0
답변 있음
WHEN I RUN THIS CODE IT AGAIN AND AGAIN GIVE THIS PROBLEM THAT IS 'Index exceeds matrix dimensions.'
You are declaring PopM as PopM=[]; Then your are telling matlab to acces element i and j of this matrix, but this matri...
WHEN I RUN THIS CODE IT AGAIN AND AGAIN GIVE THIS PROBLEM THAT IS 'Index exceeds matrix dimensions.'
You are declaring PopM as PopM=[]; Then your are telling matlab to acces element i and j of this matrix, but this matri...
11년 초과 전 | 0
답변 있음
Doubt on Covariance matrix of 3 vectors in MATLAB
You are correct about the diagonal elements var(x) , var(y) and var(z). But the off axis computations is not correct. When you ...
Doubt on Covariance matrix of 3 vectors in MATLAB
You are correct about the diagonal elements var(x) , var(y) and var(z). But the off axis computations is not correct. When you ...
11년 초과 전 | 1
| 수락됨
답변 있음
how to make a variable name from a string
The error should not appear, your code looks to work exept for the part of 'data' , should this instead be value? test='eye...
how to make a variable name from a string
The error should not appear, your code looks to work exept for the part of 'data' , should this instead be value? test='eye...
11년 초과 전 | 0
| 수락됨
답변 있음
matching matrices sizes using if statements
A=[ 1 2 3;... 4 5 6;... 7 8 9]; B=[4 5 8;... 1 2 7]; [ma,na]=size(A); [mb,nb]=size(B); ...
matching matrices sizes using if statements
A=[ 1 2 3;... 4 5 6;... 7 8 9]; B=[4 5 8;... 1 2 7]; [ma,na]=size(A); [mb,nb]=size(B); ...
11년 초과 전 | 0
| 수락됨
답변 있음
Sorting a vector with another vector of multiple maximums
Im not a 100% sure if this is what you are asking for, but as for checking for multiple maximums you are actually already doing ...
Sorting a vector with another vector of multiple maximums
Im not a 100% sure if this is what you are asking for, but as for checking for multiple maximums you are actually already doing ...
11년 초과 전 | 1
| 수락됨
질문
Assigning single processor core in script
Hi, i am looking for a way to assignt a single core from within matlab. i.e something like: %% my script: clc; cle...
11년 초과 전 | 답변 수: 0 | 0
0
답변답변 있음
how can i simplify this for loop?
a=[]; t=zeros(5,2); for i=1:2 t(:,1)=(1:5)+i; t(:,2)=(2:6)+2*(1:5); a=[a;t]; end disp(a) Y...
how can i simplify this for loop?
a=[]; t=zeros(5,2); for i=1:2 t(:,1)=(1:5)+i; t(:,2)=(2:6)+2*(1:5); a=[a;t]; end disp(a) Y...
11년 초과 전 | 0
| 수락됨