Beantwortet
MPU9250 IMU Accelerometer modeling in Simulink
Refer to the following link to know more about measuring acceleration using MPU9250 sensor. https://www.mathworks.com/help/supp...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
How to recognize huge letters using OCR?
You could refer to the following link to know more about how to use the OCR function and it also has some pre-processing techniq...

mehr als 5 Jahre vor | 0

Beantwortet
how can I set spinner limit range based on text box entry ?
Hi, Firstly you could check if your text box returns which type of data. The value you get from a normal textbox is a char or s...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
2D Gray scale volumatric image slicing: with uniform cross-section
You could view individual XY planes by doing normal matrix slicing and using "imshow" function. You can check each of the image ...

mehr als 5 Jahre vor | 0

Beantwortet
How to convert text file to asci code ?
Hi, Once you read the text data from your file, you can convert text to binary by using dec2bin function. a = dec2bin("Some St...

fast 6 Jahre vor | 0

Beantwortet
How do I avoid using if and else statements in this code
Hi, If your main goal is to remove the if else statements from the code, you can write the following code first and then write ...

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
How to find streaks in a categorical vector?
You can use "findgroups" function to make groups in Categorical Data. The function accepts the data as categorical data so you d...

fast 6 Jahre vor | 0

Beantwortet
Why does textscan only read the first row of my text file?
Hi, Instead of using the below line, b = textscan(fileids{file},'%n %n %*n %*n %*n %*n %*n',-1, 'delimiter', '/t'); use this,...

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
How to vectorize this code? element wise to save time
Hi, As all the three for loops have some dependencies it is difficult to vectorize the code. you can try the following code, i...

fast 6 Jahre vor | 0

Beantwortet
How to display temparature, pressure and altitude of the BMP 280 using Arduino (uno) on Matlab?
Hi, You have to establish an I2C channel connection after connecting the arduino and the required parameters like temperature, ...

fast 6 Jahre vor | 0

Beantwortet
Stuck at MATLAB Onramp
Hi, The question is a bit ambiguos at start but if you look at the code carefully you will understand the each step. It asks y...

fast 6 Jahre vor | 5

Beantwortet
Getting Matlab to read MMA8451 accelerometer sensor on arduino
Hi, Refer to the following link for more information on reading acceleration data from MMA8451 accelerometer sensor https://ww...

fast 6 Jahre vor | 0

Beantwortet
How to use a machine learning model generated with matlab classifier learner in simulink
Hi, As you are ready with the model made in classification learner app, you have to export the model as a MATLAB function and t...

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
Plot in a script with three time series, each series has to be a different color
Hi, If you try to plot any two timeseries plots in the same plot using "hold on" you would always get plots with different co...

fast 6 Jahre vor | 0

Beantwortet
find max value with for loop
Hi, You could use the following code snippet if you want to use for loops specifically to find max. max = B(1); for i = 2:num...

fast 6 Jahre vor | 0

Beantwortet
An Understanding Of The Steps For A Real TIme Human Activity Recognition Surveillance System
Hi, The following links contains examples of Human activity recognition. https://www.mathworks.com/help/stats/human-activity-r...

fast 6 Jahre vor | 1

| akzeptiert

Beantwortet
NARX neural network - how to use different time series for train, validation and testing the network?
Firstly, You can train the model without using divideblock and supply your own testing and validation data(It is not a compulsio...

fast 6 Jahre vor | 0

Beantwortet
Index in position 3 exceeds array bounds (must not exceed 1).
Going through the comments it is evident that when calling S(ID,ID,ID) = S(ID,ID,ID) + K; The size of S(ID,ID,ID) is 4*4*4 an...

fast 6 Jahre vor | 1

Beantwortet
How to programmatically stop simulation when output converges
You could use a Stop Simuation Block to stop the simulation by defining a condition which you want to satisfy before stopping th...

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
How the RL agent knows that it has to provide 'action' as 'FLOW' because none of my input or observations is flow? What decides the output of action?
Hi, The details are given properly in the link which you have sent. In the example, input is a scalar variable which indicates ...

fast 6 Jahre vor | 0

Beantwortet
Problem with a LSTM network
Hi, The small problem with your code is that you are not putting the dimensions of the SesnorsTrain and MachineStatusTrain prop...

fast 6 Jahre vor | 0

Beantwortet
Displaying MSE values at training,validation and testing ratios
Hi, Below is a link to similar question which could be of your use. https://www.mathworks.com/matlabcentral/answers/405606-how...

fast 6 Jahre vor | 0

Beantwortet
how to get an output from this dialog box?
You could use a Global variable, assign that variable in the callback function and you could retrieve the variable in your progr...

fast 6 Jahre vor | 0

Beantwortet
sir please explain me how to form network and training for INSTANCE segmentation
Hi, You could refer to the following link and get to know more about how to do a normal semantic by using your data, creating a...

fast 6 Jahre vor | 0

Beantwortet
callback for pushbutton in a gui to solve a Karnaugh Map
You could refer to the following link to know more about how to create push button callbacks. https://www.mathworks.com/help/ma...

fast 6 Jahre vor | 0

Beantwortet
Array indices must be positive integers or logical values.
Hi, Using the following lines decreases the pos value to less than 1, Thus the MATLAB throws an error. From your given code, a...

fast 6 Jahre vor | 0

Beantwortet
Apparent bug when images.ROI is placed within an hggroup
I have heard that this issue is known to the concerned developers and the issue will be resolved in 2020a release. As a work aro...

etwa 6 Jahre vor | 0

| akzeptiert

Beantwortet
Ecompass algorithm and Kalman Filter
To use the kalman filter to analyze the signals you first have to create a state-space model which will be directly passed with ...

etwa 6 Jahre vor | 0

Beantwortet
Saving multiple runs within a neural network
It seems the outputmat does not depend on the k value of your "for loop" and thus it is updating the same values in the loop. Y...

etwa 6 Jahre vor | 0

Beantwortet
Undefined function 'voltageRead' for input arguments of type 'double'.
It seems like you have used voltageRead instead of readVoltage function.

etwa 6 Jahre vor | 0

Mehr laden