
Askic V
Content Feed
답변 있음
State-Space Matrix Closed Loop System C Matrix issue
This is how I would simulate similar system in simulink. First of all this is the simulation in Matlab script: % Transfer func...
State-Space Matrix Closed Loop System C Matrix issue
This is how I would simulate similar system in simulink. First of all this is the simulation in Matlab script: % Transfer func...
1일 전 | 0
답변 있음
Can this equation be solved for x? If yes, how does the solution look? Thank you. Karl.
Things become complicated very easy with high degree polynomials. First, this is an example for qudratic equation: syms a b c ...
Can this equation be solved for x? If yes, how does the solution look? Thank you. Karl.
Things become complicated very easy with high degree polynomials. First, this is an example for qudratic equation: syms a b c ...
1일 전 | 0
| 수락됨
답변 있음
in FFT analysis , this kind of window appear, i cant find THD of signal, please guide.
I would suggest you to look in the documentation. Matlab has a builtin function called thd.
in FFT analysis , this kind of window appear, i cant find THD of signal, please guide.
I would suggest you to look in the documentation. Matlab has a builtin function called thd.
3일 전 | 0
| 수락됨
답변 있음
How can I combine two vectors with different lenghts and indexes into one sum.
You obviously have missing values in your table. This is how I would approach to this problem: tau = 0:10:80; mu_tau = mean(ta...
How can I combine two vectors with different lenghts and indexes into one sum.
You obviously have missing values in your table. This is how I would approach to this problem: tau = 0:10:80; mu_tau = mean(ta...
6일 전 | 0
| 수락됨
답변 있음
Predictors in classification learner app
This is explaind in the Matlab documentation here: https://www.mathworks.com/help/stats/feature-selection-and-feature-transform...
Predictors in classification learner app
This is explaind in the Matlab documentation here: https://www.mathworks.com/help/stats/feature-selection-and-feature-transform...
8일 전 | 0
| 수락됨
답변 있음
How to output a tout from Simulink space to Matlab so that it reads the value to us?
Hi @Krzysztof, when I want to access variables from simulink, plot them etc. I use to Workspace block in simulink and choose Ar...
How to output a tout from Simulink space to Matlab so that it reads the value to us?
Hi @Krzysztof, when I want to access variables from simulink, plot them etc. I use to Workspace block in simulink and choose Ar...
9일 전 | 0
답변 있음
Unable to perform assignment because the left and right sides have a different number of elements.
Not really sure what you're trying to simulate here. From what I can see in the code, you have created a MIMO system with 4 inp...
Unable to perform assignment because the left and right sides have a different number of elements.
Not really sure what you're trying to simulate here. From what I can see in the code, you have created a MIMO system with 4 inp...
9일 전 | 0
| 수락됨
답변 있음
Beginning and end of the curve isn't linked with points
At the bottom of your script I have added the following code: % Define number of digits numDigits = 10; % Enable data cursor ...
Beginning and end of the curve isn't linked with points
At the bottom of your script I have added the following code: % Define number of digits numDigits = 10; % Enable data cursor ...
9일 전 | 0
| 수락됨
답변 있음
fit line to 3D scatterplot
I'm not really sure what you want to achieve here, but if you have X and Y data and want to do a linear fit, then you can constr...
fit line to 3D scatterplot
I'm not really sure what you want to achieve here, but if you have X and Y data and want to do a linear fit, then you can constr...
11일 전 | 0
답변 있음
Customise marker and Line Style 2 value same Y axes in stackedplot
Can you try this: s.LineProperties(1).LineStyle = ["none", "-"]% remove the line for first s.LineProperties(1).Marker = ["x","...
Customise marker and Line Style 2 value same Y axes in stackedplot
Can you try this: s.LineProperties(1).LineStyle = ["none", "-"]% remove the line for first s.LineProperties(1).Marker = ["x","...
12일 전 | 0
| 수락됨
답변 있음
"Error using fscanf"
You're getting this error because the path to your file is not correct. this is where the problem is: lightfile = strcat( dir...
"Error using fscanf"
You're getting this error because the path to your file is not correct. this is where the problem is: lightfile = strcat( dir...
12일 전 | 0
| 수락됨
답변 있음
Find the corresponding matrix
Is this what you need? A =[14 17 19 2 19 12 11 20 20 12 11 7 18 5 16 6]; B = [1;2;4;5;6;11;12;14;17;19;20]; rA = size(...
Find the corresponding matrix
Is this what you need? A =[14 17 19 2 19 12 11 20 20 12 11 7 18 5 16 6]; B = [1;2;4;5;6;11;12;14;17;19;20]; rA = size(...
12일 전 | 0
| 수락됨
답변 있음
Using variable legend in for loop
Not really sure what you're trying to achieve, especially because abs(z) is always about 0.5, but regarding the legend, I think ...
Using variable legend in for loop
Not really sure what you're trying to achieve, especially because abs(z) is always about 0.5, but regarding the legend, I think ...
13일 전 | 0
답변 있음
List S3 Files and Subdirectories
Well, this small code snippet create a file datastore that include all csv files starting with 'd' or 'D' from the current folde...
List S3 Files and Subdirectories
Well, this small code snippet create a file datastore that include all csv files starting with 'd' or 'D' from the current folde...
13일 전 | 0
답변 있음
Plotting inside structure array
This may not be the most efficient way, but here is how I would do it. I hope some of many gurus here may suggest more efficien...
Plotting inside structure array
This may not be the most efficient way, but here is how I would do it. I hope some of many gurus here may suggest more efficien...
13일 전 | 0
답변 있음
How do I load a engine data like loading Helidata
For example it is loaded from: C:\Program Files\...\toolbox\signal\signal\helidata.mat and this is installed together with Matl...
How do I load a engine data like loading Helidata
For example it is loaded from: C:\Program Files\...\toolbox\signal\signal\helidata.mat and this is installed together with Matl...
13일 전 | 0
답변 있음
how can i found the frequency of the first 10 words in a text?
Please have a look at this example: https://www.mathworks.com/matlabcentral/answers/1965034-how-can-i-do-a-histogram
how can i found the frequency of the first 10 words in a text?
Please have a look at this example: https://www.mathworks.com/matlabcentral/answers/1965034-how-can-i-do-a-histogram
15일 전 | 0
답변 있음
I have 2 error .Error using interp1>reshapeAndSortXandV (line 445) X and V must be of the same length. Error in interp1 (line 128) [X,V,orig_size_v] = reshapeAndSortXan
Please have a look at the documentation for the information how to use interp1 function correctly: https://www.mathworks.com/he...
I have 2 error .Error using interp1>reshapeAndSortXandV (line 445) X and V must be of the same length. Error in interp1 (line 128) [X,V,orig_size_v] = reshapeAndSortXan
Please have a look at the documentation for the information how to use interp1 function correctly: https://www.mathworks.com/he...
15일 전 | 0
답변 있음
how can i do a histogram ?
For the paricular case, I think bar function would be more appropriate. text = "In the realm of possibilities, actions speak l...
how can i do a histogram ?
For the paricular case, I think bar function would be more appropriate. text = "In the realm of possibilities, actions speak l...
15일 전 | 0
답변 있음
How to combine boxplots from Anova into subplots
Can the following example give you an ide how to solve the problem? clear;clc;close all; y1 = meshgrid(1:5); %rng default; ...
How to combine boxplots from Anova into subplots
Can the following example give you an ide how to solve the problem? clear;clc;close all; y1 = meshgrid(1:5); %rng default; ...
15일 전 | 0
| 수락됨
질문
Legend with geobubble function is not behaving as expected
Hello, I have very strange and unexpected behavior of showing legend when using geobubble function. I'm reading data from the ...
대략 1개월 전 | 답변 수: 0 | 0
0
답변답변 있음
Merging Date and time
I would also like to suggest a bit different approach: T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_f...
Merging Date and time
I would also like to suggest a bit different approach: T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_f...
대략 1개월 전 | 0
답변 있음
How to numerically solve system of equations and differential equations simultaneously?
Does this make sense to you (in your simple example)? syms A B C(t) eqn1 = diff(C,t) == 6*A; C_sol = dsolve(eqn1) eqn2 = A...
How to numerically solve system of equations and differential equations simultaneously?
Does this make sense to you (in your simple example)? syms A B C(t) eqn1 = diff(C,t) == 6*A; C_sol = dsolve(eqn1) eqn2 = A...
대략 1개월 전 | 1
| 수락됨
답변 있음
Convert MATLAB use of Probability Density Function (PDF) to Python
I have made a quick test using Matlab's built in function pdf and Python's stats.norm.pdf x = [-2 -1 0 1 2]; mu = 1; sigma = ...
Convert MATLAB use of Probability Density Function (PDF) to Python
I have made a quick test using Matlab's built in function pdf and Python's stats.norm.pdf x = [-2 -1 0 1 2]; mu = 1; sigma = ...
대략 2개월 전 | 0
답변 있음
Omega method to integrate sin function
You're getting the weird values for disp because of division with eps (very small number). This code will produce what you expe...
Omega method to integrate sin function
You're getting the weird values for disp because of division with eps (very small number). This code will produce what you expe...
대략 2개월 전 | 0
답변 있음
Scale/Normalize values in matrix between 10^-6 and 10^-5
Hello, this is a matter of a simple linear transformation y = m*x+n. if you want to normalize data in interval [a,b] to interv...
Scale/Normalize values in matrix between 10^-6 and 10^-5
Hello, this is a matter of a simple linear transformation y = m*x+n. if you want to normalize data in interval [a,b] to interv...
대략 2개월 전 | 0
| 수락됨
답변 있음
Cyclic Redundancy Check function
As far as I can see, crcreceive.m is missing a portion of code present in the FullCode divisor = bitshift(divisor,messageLength...
Cyclic Redundancy Check function
As far as I can see, crcreceive.m is missing a portion of code present in the FullCode divisor = bitshift(divisor,messageLength...
대략 2개월 전 | 0
| 수락됨
답변 있음
Creating a cosine oscillation ( cos(2 * pi * f * k * T) )
Hi Ahmad, you can can think of k*T as a time vector, one example is: k = 1:2000; T = 1/Fs; tf = k*T; y = A*cos(2*pi*f*k*T); ...
Creating a cosine oscillation ( cos(2 * pi * f * k * T) )
Hi Ahmad, you can can think of k*T as a time vector, one example is: k = 1:2000; T = 1/Fs; tf = k*T; y = A*cos(2*pi*f*k*T); ...
대략 2개월 전 | 0
| 수락됨
답변 있음
Hello, why Matlab does not check for second condition and give an answer without checking second condition after AND short circuit operator?
Hi Aknur, in the example below, the part after && is evaluated. BTW, operators || and && are so called short-circuit operators...
Hello, why Matlab does not check for second condition and give an answer without checking second condition after AND short circuit operator?
Hi Aknur, in the example below, the part after && is evaluated. BTW, operators || and && are so called short-circuit operators...
대략 2개월 전 | 0
| 수락됨
답변 있음
what is r. in the pagerank algorithm
Hi Kellie, you probably mean on the following equation: r = (1-P)/n + P*(A'*(r./d) + s/n); % r is a vector of PageRank scores...
what is r. in the pagerank algorithm
Hi Kellie, you probably mean on the following equation: r = (1-P)/n + P*(A'*(r./d) + s/n); % r is a vector of PageRank scores...
대략 2개월 전 | 0