Jesus Sanchez
Followers: 0 Following: 0
Feeds
질문
Obtain filter x,y points (Designed with notchfilt)
Hello everyone, I am trying to do some Mean Square Error between a signal that I measured and the "ideal" shape of it, which co...
대략 3년 전 | 답변 수: 1 | 0
1
답변질문
integral2 failing to calculate area of a square inside a circle?
Hello all, I am integrating the area contained within a square and a circle using integral2. I use a circle centered at (0,0) w...
3년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
why plot result is different from fplot's
Problem solved. The problem here is the value of n. Since you wrote that n = 600, the resulting number is too big for the comput...
why plot result is different from fplot's
Problem solved. The problem here is the value of n. Since you wrote that n = 600, the resulting number is too big for the comput...
4년 초과 전 | 1
| 수락됨
답변 있음
why plot result is different from fplot's
For plot, you wrote that x is defined between -pi and pi. For fplot, you can see the reason in its reference page fplot(f) plo...
why plot result is different from fplot's
For plot, you wrote that x is defined between -pi and pi. For fplot, you can see the reason in its reference page fplot(f) plo...
4년 초과 전 | 0
답변 있음
Simple version of creating a matrix
One possibility is to concatenate them at the same time that they are created using zeros and ones. So something like this: Aeq...
Simple version of creating a matrix
One possibility is to concatenate them at the same time that they are created using zeros and ones. So something like this: Aeq...
4년 초과 전 | 1
답변 있음
Need help on usage of s-parameters
This toolbox comes with an Sparameters reader. What do you mean with "the impulse response"? S parameters already give insight a...
Need help on usage of s-parameters
This toolbox comes with an Sparameters reader. What do you mean with "the impulse response"? S parameters already give insight a...
4년 초과 전 | 0
답변 있음
S-parameter to Y-parameter
Check this toolbox, it does usual transformations between these kind of parameters
S-parameter to Y-parameter
Check this toolbox, it does usual transformations between these kind of parameters
4년 초과 전 | 0
답변 있음
Savig a workspace file..
Without the code, we cannot do much. However, for the save I think that you are not wrting the variable name as a string. See Sa...
Savig a workspace file..
Without the code, we cannot do much. However, for the save I think that you are not wrting the variable name as a string. See Sa...
4년 초과 전 | 0
| 수락됨
답변 있음
Save multiple functions on a single vector
One possibility is to work with them as vectors and then unite them in one matrix. everyDay = 10; % N out1 = zeros(everyDay,...
Save multiple functions on a single vector
One possibility is to work with them as vectors and then unite them in one matrix. everyDay = 10; % N out1 = zeros(everyDay,...
4년 초과 전 | 0
답변 있음
Getting array out of for loop
Treat p_out as a vector and you will be fine: for i = 1:length(n) % for loop for iteration of n times p_out(i) = p_in * ...
Getting array out of for loop
Treat p_out as a vector and you will be fine: for i = 1:length(n) % for loop for iteration of n times p_out(i) = p_in * ...
거의 5년 전 | 0
답변 있음
saving data during iterations
It seems that you are overwriting y in each iteration. Being that the case, I would create a matrix stored_y to save the values ...
saving data during iterations
It seems that you are overwriting y in each iteration. Being that the case, I would create a matrix stored_y to save the values ...
거의 5년 전 | 0
| 수락됨
답변 있음
Delete duplicate data rows from cell array
From this previous question A = [1 1 2 2 3 3 3]; [U, I] = unique(A, 'first'); x = 1:length(A); x(I) = []; Therefore in your...
Delete duplicate data rows from cell array
From this previous question A = [1 1 2 2 3 3 3]; [U, I] = unique(A, 'first'); x = 1:length(A); x(I) = []; Therefore in your...
거의 5년 전 | 0
답변 있음
confusing regarding two cases of multiplication in MATLAB?
".*" -> Element-wise multiplication Example: [1 2 3].*[1 2 3] = [1*1 2*2 3*3] = [1 4 9] "*" -> Matrix multiplication Exampl...
confusing regarding two cases of multiplication in MATLAB?
".*" -> Element-wise multiplication Example: [1 2 3].*[1 2 3] = [1*1 2*2 3*3] = [1 4 9] "*" -> Matrix multiplication Exampl...
거의 5년 전 | 1
| 수락됨
답변 있음
How to store values in a loop?
Just fill them like they are vectors. MATLAB can add new "cells" to each vector on the fly, or you can pre-define them for speed...
How to store values in a loop?
Just fill them like they are vectors. MATLAB can add new "cells" to each vector on the fly, or you can pre-define them for speed...
거의 5년 전 | 0
| 수락됨
답변 있음
Plotting a continuous line from separate data files
Combine all of them in one vector before plotting. If they are line-vectors: x_data = [x1 , x2 , x3 ... x9]; y_data = [y1 , y2...
Plotting a continuous line from separate data files
Combine all of them in one vector before plotting. If they are line-vectors: x_data = [x1 , x2 , x3 ... x9]; y_data = [y1 , y2...
거의 5년 전 | 0
| 수락됨
답변 있음
how should I correctly use findpeaks() so that the output will not show me the following error
Data is a matrix of Nx2. You just need to select which vector you want to use to search for the peaks. I guess is the second o...
how should I correctly use findpeaks() so that the output will not show me the following error
Data is a matrix of Nx2. You just need to select which vector you want to use to search for the peaks. I guess is the second o...
거의 5년 전 | 0
| 수락됨
답변 있음
Easiest way to skip a few lines and then read data from this text file ( x and y) to draw a plot.
From yout MATLAB: Home -> Variable -> Import data. From there you can also create a function that will allow you to import futu...
Easiest way to skip a few lines and then read data from this text file ( x and y) to draw a plot.
From yout MATLAB: Home -> Variable -> Import data. From there you can also create a function that will allow you to import futu...
거의 5년 전 | 0
답변 있음
Ascending table column labels
I would do it inside a for loop: matrix = [1 2 3; 3 4 5; 6 4 5; 9 8 7]; % 4 rows and 3 columns colnames = {}; % Initializes co...
Ascending table column labels
I would do it inside a for loop: matrix = [1 2 3; 3 4 5; 6 4 5; 9 8 7]; % 4 rows and 3 columns colnames = {}; % Initializes co...
거의 5년 전 | 0
답변 있음
using google on matlab web browser
You need to generate the complete url from matlab and then pass that to web(url). After a brief testing, the format for google s...
using google on matlab web browser
You need to generate the complete url from matlab and then pass that to web(url). After a brief testing, the format for google s...
거의 5년 전 | 0
| 수락됨
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
거의 5년 전
답변 있음
fprintf- I dont want to print one result.
clear clc x= input ('Enter x: '); %Degree of reaction to the virus from a blood test. showHours = 1; if x==0 disp ('Ne...
fprintf- I dont want to print one result.
clear clc x= input ('Enter x: '); %Degree of reaction to the virus from a blood test. showHours = 1; if x==0 disp ('Ne...
거의 5년 전 | 1
| 수락됨
제출됨
createArchimedeanSolid
Creates required Archimedean solid with desired edge length a centered at origin.
거의 5년 전 | 다운로드 수: 1 |
답변 있음
how to find x if i only know y?
As you are working with degrees, I consider that you want to have natural numbers as a result, not something like 5.0358 degrees...
how to find x if i only know y?
As you are working with degrees, I consider that you want to have natural numbers as a result, not something like 5.0358 degrees...
거의 5년 전 | 0
| 수락됨
답변 있음
Joining 2 tables to make 1 table
You can unite them as if they were matrixes: complete_table = [table1 ; table2]; % This should work to join the columns of both...
Joining 2 tables to make 1 table
You can unite them as if they were matrixes: complete_table = [table1 ; table2]; % This should work to join the columns of both...
거의 5년 전 | 0
| 수락됨
답변 있음
For loop nested plotting
Use a if-else expression: if current_iteration == 10 plot(T,cost) end
For loop nested plotting
Use a if-else expression: if current_iteration == 10 plot(T,cost) end
거의 5년 전 | 0
| 수락됨
답변 있음
Unable to convert expression into double array.
Your problem is that you did not assign numerical values to your sym variables. Therefore, when you do double(sym_variable), mat...
Unable to convert expression into double array.
Your problem is that you did not assign numerical values to your sym variables. Therefore, when you do double(sym_variable), mat...
거의 5년 전 | 0
질문
Archimedean solids in MATLAB
Hello all, I have been looking for a toolbox or file exchange that generates or gives back the vertices of the 14 archimedean s...
거의 5년 전 | 답변 수: 1 | 0
1
답변질문
Print user-defined error messages as a table
Hello all, I would like to display an error message that informs the user of a function of the options that he has avaliable....
거의 5년 전 | 답변 수: 1 | 0
1
답변답변 있음
Undefined function 'addElement' for input arguments of type 'cell'.
Check the value of "verso". If it is not a number, the conversion from cell to double using "double(...)" does not work. This mi...
Undefined function 'addElement' for input arguments of type 'cell'.
Check the value of "verso". If it is not a number, the conversion from cell to double using "double(...)" does not work. This mi...
거의 5년 전 | 0