Askic V
Followers: 0 Following: 0
Feeds
提问
Improve convergence of GD with momentum
Hello, I have made a simple implementation of the GD algorithm with momentum and it seems to me that convergence is very slow, ...
6 months 前 | 1 个回答 | 1
1
个回答已回答
Extracting 2 columns from a excel file and send them to an own matrix file
Hello, I would do something like this to extract the data, and then I would used writematrix like VBBV suggested to write into ...
Extracting 2 columns from a excel file and send them to an own matrix file
Hello, I would do something like this to extract the data, and then I would used writematrix like VBBV suggested to write into ...
9 months 前 | 0
已回答
Hello. I want to calculate the covariance matrix for a parameter vector Q[1x24].
Is this helpful to you? I have used the example from Matlab documentation. load iddata9 z9 Ts = z9.Ts; y = cumsum(z9.y); mo...
Hello. I want to calculate the covariance matrix for a parameter vector Q[1x24].
Is this helpful to you? I have used the example from Matlab documentation. load iddata9 z9 Ts = z9.Ts; y = cumsum(z9.y); mo...
9 months 前 | 0
已回答
Im seeking assistance for Simulink Onramp project - Thermostat task 6
This has already been discussed. https://www.mathworks.com/matlabcentral/answers/uploaded_files/1193683/matlbcommunity.jpg htt...
Im seeking assistance for Simulink Onramp project - Thermostat task 6
This has already been discussed. https://www.mathworks.com/matlabcentral/answers/uploaded_files/1193683/matlbcommunity.jpg htt...
9 months 前 | 2
已回答
plot data from .mat file
I would do it like this: load (websave('Fidelity_result.mat', 'https://www.mathworks.com/matlabcentral/answers/uploaded_files/1...
plot data from .mat file
I would do it like this: load (websave('Fidelity_result.mat', 'https://www.mathworks.com/matlabcentral/answers/uploaded_files/1...
9 months 前 | 0
提问
Fixed step solver explanation needed
Hello, I've developed a dedicated MATLAB function to simulate a dynamic response of a system using difference equations. I have...
9 months 前 | 1 个回答 | 0
1
个回答提问
Execute Matlab function in Simulink
Hello to all, I have this Matlab function, i would like to execute in Simulink using "User-Defined->Matlab Function" from the L...
9 months 前 | 1 个回答 | 0
1
个回答已回答
Reference to rmoutliers() function
Matlab has very powerful documentation. Please have a look here: https://www.mathworks.com/help/matlab/ref/rmoutliers.html
Reference to rmoutliers() function
Matlab has very powerful documentation. Please have a look here: https://www.mathworks.com/help/matlab/ref/rmoutliers.html
10 months 前 | 0
提问
Create plot with gradient descend vectors for function of 2 variables
Hello, I would like to extend this code to a function of two variables z = x.^2+y.^2. I have the following code for a function...
10 months 前 | 1 个回答 | 0
1
个回答已回答
The multiplication result by sum() and matrix multiplication are not the same
In addition what Walter and Stephen said, if you have some specific application and you need to compare the floating point numbe...
The multiplication result by sum() and matrix multiplication are not the same
In addition what Walter and Stephen said, if you have some specific application and you need to compare the floating point numbe...
1 year 前 | 0
已回答
How to plot discrete array with colors
I would also like to offer my solution. It is not so elegant comparing to @Star Strider, but it can show you how bar can be used...
How to plot discrete array with colors
I would also like to offer my solution. It is not so elegant comparing to @Star Strider, but it can show you how bar can be used...
1 year 前 | 0
已回答
The sample points must be finite.
Most likely, you're getting the error because you have missing entries in the data. websave("filename.csv","https://www.mathwor...
The sample points must be finite.
Most likely, you're getting the error because you have missing entries in the data. websave("filename.csv","https://www.mathwor...
1 year 前 | 0
| 已接受
已回答
Integration of Numeric Data
I think this small code snippet would be sufficient to give you an idea how to proceed further: clc; clear; % Just for the pu...
Integration of Numeric Data
I think this small code snippet would be sufficient to give you an idea how to proceed further: clc; clear; % Just for the pu...
1 year 前 | 0
已回答
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 year 前 | 1
已回答
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 year 前 | 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.
1 year 前 | 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...
1 year 前 | 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...
1 year 前 | 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...
1 year 前 | 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...
1 year 前 | 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 ...
1 year 前 | 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...
1 year 前 | 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","...
1 year 前 | 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...
1 year 前 | 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(...
1 year 前 | 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 ...
1 year 前 | 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...
1 year 前 | 1
已回答
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...
1 year 前 | 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...
1 year 前 | 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
1 year 前 | 0