Answered
How to model a motor driver for a PMDC motor in Simulink
See this documentation page on a Permanent Magnet DC Motor model.

5 years ago | 0

Answered
I need some help
Have you read through the code? Lines 3-4 in your first image seems to provide important information: "You do not need to know...

5 years ago | 0

Answered
How to set data in next row of MATLAB GUI table?
Probably this has to do with the break command you have at the end of your for loop. You should read what this function does. In...

5 years ago | 0

Answered
How to open .SRT files?
Without the actual file, we're only guessing. With that in mind, I'd use readtable. It can handle multiple data types, and will ...

5 years ago | 0

Answered
My plot comes out to be discontinuous
The problem is that linspace most likely is not creating a vector that only contains the user inputted values at the beginning a...

5 years ago | 1

| accepted

Answered
Reading in a text file to an array without matlab functions
You must have been given some direction as to how to do this. There is no way to read it in without using at least some MATLAB f...

5 years ago | 0

Answered
Trying to make the baseline of my data follow a sine curve.
If you want to introduce baseline wandering, how are you hoping to use fit or polyfit? Why not just add the sin wave to your ecg...

5 years ago | 1

| accepted

Answered
The result of Spectrogram()
There is a documentation page that gives some details. You might find this previous Answers post helpful as well: How to unders...

5 years ago | 0

Answered
Unrecognized function or variable 'ej_circuito'
You are apparently trying to use a function (ej_circuito) that MATLAB cannot find. Ensure that this function is either defined a...

5 years ago | 1

| accepted

Answered
Inserting data into matrices where gaps exist.
We don't have much to work with, but perhaps you can join your tables? If you want to try this interactively, use the Join Table...

5 years ago | 0

| accepted

Answered
How to extract all variable rows in a table for all 1-Jan's, 2-Jan's, etc over 30 years
My recommendation would be to use groupsummary. Something like this (untested). dayAvg = groupsummary(ECCC,"DateTime","dayofyea...

5 years ago | 0

| accepted

Answered
How to solve 3 equation 2 variable system?
Have you tried a linear algebra approach for solving an overdetermined system? b = [4.09945; 4.1565; 7.6936]./28316.85; A = [(...

5 years ago | 1

| accepted

Answered
Displaying selected file name in App Designer
Right now you are just capturing the file name. If you want to display the path and filename, best to capture them both. Use the...

5 years ago | 0

| accepted

Answered
Nested While Loops won't restart
You likely need to reset the value of pCheck to something great than 1 before reaching the inner while loop. Otherwise, it will ...

5 years ago | 0

| accepted

Answered
Filtering excel data!
I would suggest using logical indexing (Ch 12 MATLAB Onramp) to select the dates and #Deaths that match the user selection. Fro...

5 years ago | 0

Answered
Patch lateral surface of a cylinder
Yes, your patch coordinates are not being created correctly. You need to have each patch sequentially. This means defining the 4...

5 years ago | 1

| accepted

Answered
How can i change values in matrix in random fashion?
I'd use numel, and randi to identify 2 random points, and then, using linear indexing, multipy those 2 points by -1.

5 years ago | 0

| accepted

Answered
Why findobj cannot find a TexBox (annotation) object?
Try using the object handle (txb) directly. plot(1:10) str = 'Straight Line Plot from 1 to 10'; txb = annotation('textbox',[....

5 years ago | 3

| accepted

Answered
How to display charts using curve fitting toolbox? Disappearing chart
Remove or comment out the following line of code from your script figure(1) Every time you call the figure command, it creates...

5 years ago | 0

| accepted

Answered
How do I get the value of seconds in a datetime table?
+1 to dpb's comment. Subtracting datetimes gives you a duration. You can convert your duration to your desired units - days, hou...

5 years ago | 0

Answered
How to do boxplot for vectors with differents lenghts?
How many boxplots would you like to see? I assume one for each file. Use the documentation to help you get the syntax right. T...

5 years ago | 0

Answered
How to define the Min LeafSize of a Random Forest
When you choose to optimize hyperparameters, you cannot specify a value for MinLeafSize. The program will try to find the best l...

5 years ago | 0

Answered
Time Series with month names
Import your months as categoricals. Categories are organized alphabetically by default. Use reordercats to place them in order....

5 years ago | 1

Answered
How to add greek symbols in plot text
The text function uses the tex interpreter by default. Use that to create include greek letters (and super/subscripted text) in ...

5 years ago | 0

Answered
How do I make my axis label text like this on a graph?
MATLAB axis labels use the tex interpreter by default. So just take advantage of that. xlabel('^{super} Normal _{sub}')

5 years ago | 0

Answered
While plotting, how to Convert YYaxis left via some formula and display it on YYAxis right...(Using R2020a)
The YTick location and label are separate properites, though by default are the same value. I would probably try to do this by c...

5 years ago | 0

| accepted

Answered
Pareto chart not displaying all inputs (some too small(?))
The default behavior is described in the documentation: "By default, either the tallest 10 bars or first 95% of the cumulative ...

5 years ago | 0

Answered
MATLAB questions and answers
I think you will find plenty of people willing to answer whatever questions you may have, but you will likely not find much succ...

5 years ago | 0

Answered
Issue creating a heat map of 512x512 matrix.
I suggest using readmatrix instead of csvread. With a 512x512 matrix, I would suggest imagesc instead of heatmap. Rows correspo...

5 years ago | 0

| accepted

Answered
Online Live Tutoring?
You could look for examples and webinars on the MathWorks website. Here are a couple I found with google. Digital Filtering Si...

5 years ago | 0

| accepted

Load more