Programming Languages:
C++, C, MATLAB
Spoken Languages:
English
C++, C, MATLAB
Spoken Languages:
English
Feeds
답변 있음
What is the multiplier in the "tank" section of the Reverberator system object
Short answer: It's probably 0.6 because that's what the algorithm says it should be. Why the algorithm says it should be 0.6 is ...
What is the multiplier in the "tank" section of the Reverberator system object
Short answer: It's probably 0.6 because that's what the algorithm says it should be. Why the algorithm says it should be 0.6 is ...
6개월 전 | 0
답변 있음
How can I draw a fft transform?
I think your "actual" plot looks correct, honestly. It is roughly the same shape as the "desired" plot, and my guess is that zoo...
How can I draw a fft transform?
I think your "actual" plot looks correct, honestly. It is roughly the same shape as the "desired" plot, and my guess is that zoo...
대략 3년 전 | 0
답변 있음
Calculate the RMS Value of signal, Iam getting an error:
You are trying to use the MATLAB function mean(), but you have a variable of the same name, which it why it thinks bit1.^2 is an...
Calculate the RMS Value of signal, Iam getting an error:
You are trying to use the MATLAB function mean(), but you have a variable of the same name, which it why it thinks bit1.^2 is an...
4년 초과 전 | 0
| 수락됨
답변 있음
Find Min& Max Togather
As of 2017a (and for anyone else still stumbling across this question years later, which it looks like there's still a handful),...
Find Min& Max Togather
As of 2017a (and for anyone else still stumbling across this question years later, which it looks like there's still a handful),...
4년 초과 전 | 2
답변 있음
How can I make a table editable in app designer to use the resulting data matrix?
It seems you must first add "default" data (via something like the startupFcn for your UIFigure) before you can edit the data (s...
How can I make a table editable in app designer to use the resulting data matrix?
It seems you must first add "default" data (via something like the startupFcn for your UIFigure) before you can edit the data (s...
5년 초과 전 | 2
답변 있음
how do I call a member function in another member function in the same class in matlab ??
There are two ways to call another method function from the same class. First, you can use a dot/period to access the method ...
how do I call a member function in another member function in the same class in matlab ??
There are two ways to call another method function from the same class. First, you can use a dot/period to access the method ...
대략 6년 전 | 2
답변 있음
How to struct ?
It's not quite right, but you're on the right track. First, you should have |TagPrice = 1:200:7000|, according to the question. ...
How to struct ?
It's not quite right, but you're on the right track. First, you should have |TagPrice = 1:200:7000|, according to the question. ...
거의 7년 전 | 0
답변 있음
Filling structure with variables from different files
You can do: alpha = 'a':'z'; cases = 8:12; for i = 1:length(cases) S.(alpha(i)) = load(['case' num2str(cases(i))],...
Filling structure with variables from different files
You can do: alpha = 'a':'z'; cases = 8:12; for i = 1:length(cases) S.(alpha(i)) = load(['case' num2str(cases(i))],...
거의 7년 전 | 0
답변 있음
Vectorization of For loops
Honestly, your slow code is due to the fact that you don't preallocate rloc1 or rloc. You will find that simply adding rloc1...
Vectorization of For loops
Honestly, your slow code is due to the fact that you don't preallocate rloc1 or rloc. You will find that simply adding rloc1...
거의 7년 전 | 0
답변 있음
how can i calculate summation over two limits and that too inside a for loop for different values of x & z to have a graph as shown in figure that varies with change in frequency ?
Okay, so there seem to be a lot of things going on (i.e. wrong) here, too much for someone else to solve for you. So a few point...
how can i calculate summation over two limits and that too inside a for loop for different values of x & z to have a graph as shown in figure that varies with change in frequency ?
Okay, so there seem to be a lot of things going on (i.e. wrong) here, too much for someone else to solve for you. So a few point...
거의 7년 전 | 0
답변 있음
Solve an equation with data from matrix
This looks like a job for the Quadratic Formula, my friend: % First, no need for a loop: vv = repmat(vt,[51 1]); % vv ends...
Solve an equation with data from matrix
This looks like a job for the Quadratic Formula, my friend: % First, no need for a loop: vv = repmat(vt,[51 1]); % vv ends...
거의 7년 전 | 0
답변 있음
Using loop for calculating ode with different parameter
Use a for loop. If k is non-linear, just put your values of interest into a vector. loop_i = 0; for k = [1 10 ....Rest of ...
Using loop for calculating ode with different parameter
Use a for loop. If k is non-linear, just put your values of interest into a vector. loop_i = 0; for k = [1 10 ....Rest of ...
대략 7년 전 | 0
답변 있음
how to search a value of a matrix and replace by vector value?
studentIDs = [84599 84607; ... 151791 152219; ... 151791 152195; ... 357518 357809; ... 357518 357863];...
how to search a value of a matrix and replace by vector value?
studentIDs = [84599 84607; ... 151791 152219; ... 151791 152195; ... 357518 357809; ... 357518 357863];...
대략 7년 전 | 1
| 수락됨
답변 있음
Why does MATLAB (R2015b glnxa64 ) hangs at times ?
I see you are running Linux. Do you have a swap partition? If so, this could be the cause. With RAM intensive calculations, MATL...
Why does MATLAB (R2015b glnxa64 ) hangs at times ?
I see you are running Linux. Do you have a swap partition? If so, this could be the cause. With RAM intensive calculations, MATL...
대략 7년 전 | 0
답변 있음
How do I add cell (or double) columns together to form a new cell or vector?
Is this what you're looking for? sum(A,2)
How do I add cell (or double) columns together to form a new cell or vector?
Is this what you're looking for? sum(A,2)
대략 7년 전 | 0
답변 있음
I have a text file contains a diffrent directories of video data, but now I don't know how to read those directories line by line from this text file and pass it to a function of reading video, I wish you guys can help me
It sounds like your question is less about video files and more about how to read a text file containing a list of filepaths to ...
I have a text file contains a diffrent directories of video data, but now I don't know how to read those directories line by line from this text file and pass it to a function of reading video, I wish you guys can help me
It sounds like your question is less about video files and more about how to read a text file containing a list of filepaths to ...
대략 7년 전 | 0
| 수락됨
답변 있음
nlinfit gives no result
In your function funexp2conv410, your line t_in = find(t==P); runs the risk of being empty, thereby causing output f ...
nlinfit gives no result
In your function funexp2conv410, your line t_in = find(t==P); runs the risk of being empty, thereby causing output f ...
대략 7년 전 | 1
| 수락됨
답변 있음
how to include n = 1:25; power = 1:4:100; cg = 1:6:150; in single expression using for loop
Since all your vectors are the same length, you probably want to be using the binary operators in your equation, which includes ...
how to include n = 1:25; power = 1:4:100; cg = 1:6:150; in single expression using for loop
Since all your vectors are the same length, you probably want to be using the binary operators in your equation, which includes ...
대략 7년 전 | 0
답변 있음
rand(Nuser,Ncarrier)= (b.*log(1+(rand(power).*rand(cg))/noise));
Your equation: rand(Nuser,Ncarrier)= (b.*log(1+(rand(power).*rand(cg))/noise)); Some observations: * _rand_ is a M...
rand(Nuser,Ncarrier)= (b.*log(1+(rand(power).*rand(cg))/noise));
Your equation: rand(Nuser,Ncarrier)= (b.*log(1+(rand(power).*rand(cg))/noise)); Some observations: * _rand_ is a M...
대략 7년 전 | 0
답변 있음
For which value of the scalar "b" does the (yet unspecified) function, y = f(x,b), go perfectly through the measured values?
Almost the exact same question was asked here (and I already answered it there): <https://www.mathworks.com/matlabcentral/answer...
For which value of the scalar "b" does the (yet unspecified) function, y = f(x,b), go perfectly through the measured values?
Almost the exact same question was asked here (and I already answered it there): <https://www.mathworks.com/matlabcentral/answer...
대략 7년 전 | 0
답변 있음
For which value of the scalar "b" does the (yet unspecified) function, y = f(x,b), go perfectly through the measured values?
Here is an example: f = @(x,b) x+b; % What you are asking is impossible without defining f. x = [0 1 5]; y_obs = [2 5 6]...
For which value of the scalar "b" does the (yet unspecified) function, y = f(x,b), go perfectly through the measured values?
Here is an example: f = @(x,b) x+b; % What you are asking is impossible without defining f. x = [0 1 5]; y_obs = [2 5 6]...
대략 7년 전 | 0
답변 있음
Setting up vector function
In your for loop, you are using k(k1+1). if k1 is the last element of k, then k(k1+1) will be exceeding the dimension of k. If y...
Setting up vector function
In your for loop, you are using k(k1+1). if k1 is the last element of k, then k(k1+1) will be exceeding the dimension of k. If y...
대략 7년 전 | 0
| 수락됨
답변 있음
Understanding convolution, 'same' might give wrong result
Your convolution looks correct, at least for what you have done, and yes, it is partially because of the 'same' option. The othe...
Understanding convolution, 'same' might give wrong result
Your convolution looks correct, at least for what you have done, and yes, it is partially because of the 'same' option. The othe...
대략 7년 전 | 1
답변 있음
How to assign 10 degrees (a unit to measure angle) to a variable ?
As James suggests, the following will work just fine: theta = 10; % degrees (Write a comment at the end if you want to remem...
How to assign 10 degrees (a unit to measure angle) to a variable ?
As James suggests, the following will work just fine: theta = 10; % degrees (Write a comment at the end if you want to remem...
대략 7년 전 | 1
답변 있음
I need to have an error message for when the user inputs a letter into the a,b,c, or d inputs but im not sure how to do it, ive tried using isnan but could not figure out how to implement it into my code for it to work.
str2num will return empty if it cannot convert, so you would need to use isempty(). Alternatively, there is a second output from...
I need to have an error message for when the user inputs a letter into the a,b,c, or d inputs but im not sure how to do it, ive tried using isnan but could not figure out how to implement it into my code for it to work.
str2num will return empty if it cannot convert, so you would need to use isempty(). Alternatively, there is a second output from...
대략 7년 전 | 0
답변 있음
Matlab not running? No errors
Be patient, it just takes a long time to display the plots. For me it took about 2 seconds for the contour functions to return a...
Matlab not running? No errors
Be patient, it just takes a long time to display the plots. For me it took about 2 seconds for the contour functions to return a...
대략 7년 전 | 0
답변 있음
Is this psuedocode implementation correct? (TicTacToe)
Did you implement these functions yourself? They seem to be all mixed up. For example, plotTicTacToe is asking for inputs, getMo...
Is this psuedocode implementation correct? (TicTacToe)
Did you implement these functions yourself? They seem to be all mixed up. For example, plotTicTacToe is asking for inputs, getMo...
대략 7년 전 | 0
답변 있음
How can I get Matlab to display a warning when one of the temperatures is greater than 2x the other?
It depends how you would like it to display. Check out the documentation for warning(), warndlg(), etc. If you want to display t...
How can I get Matlab to display a warning when one of the temperatures is greater than 2x the other?
It depends how you would like it to display. Check out the documentation for warning(), warndlg(), etc. If you want to display t...
대략 7년 전 | 0
| 수락됨
답변 있음
Can I use the if else statement to classify garment?
I am going to assume your classifications are strings. As such, you can use strcmp() or any of its related functions, as such: ...
Can I use the if else statement to classify garment?
I am going to assume your classifications are strings. As such, you can use strcmp() or any of its related functions, as such: ...
대략 7년 전 | 0
| 수락됨
답변 있음
How do I do numerical summations or integrations?
The strategy here would be to start at n=1 and keep summing over n until your result no longer changes with each new addition, n...
How do I do numerical summations or integrations?
The strategy here would be to start at n=1 and keep summing over n until your result no longer changes with each new addition, n...
대략 7년 전 | 0