Answered
how to fit a curve in matlab?
Smoothing and curve fitting are different things. For smoothing, consider using the Smooth Data live task in a live script to ...

3 years ago | 0

Answered
row vector summation in pairs without looping
Seems like you could create 2 vectors from the given vector, one containing the first number in each summation, and the other co...

3 years ago | 0

Answered
Encoder block in Simulink not resetting properly
I get the same behavior when I test it. I would suggest reporting this here: https://www.mathworks.com/support/contact_us.html ...

3 years ago | 1

Answered
ColumnEditable problem with categorical
You can't set the ColumnFormat value to be a categorical. It must be either 'numeric', 'logical', 'char', or be a popupmenu defi...

3 years ago | 1

| accepted

Answered
Cubicpolytraj, quinticpolytraj, contopptraj access
Yes. If that toolbox is included on your license, you can add it using the Add-Ons Explorer.

3 years ago | 0

| accepted

Answered
How to calculate the heart rate from an ECG signal?
See this answer: https://www.mathworks.com/matlabcentral/answers/374766-determining-average-heart-rate-of-ecg-signal There is a...

3 years ago | 0

Answered
How can I delete an xline/plot from a plot without deleting the other ones on the graph? (I am using checkbox)
Yes, cla clears everything on the axes. Instead, delete the handle to your line. See this answer: https://www.mathworks.com/matl...

3 years ago | 0

| accepted

Answered
How to create a table with an if statement
You create BL_subtraction as an empty array, and then try to concatenate to it. That is giving you the error, since the two tabl...

3 years ago | 0

Answered
BST does not display in Matlab Grader
Your previous questions have been regarding integration into Blackboard. Assuming this is the case here as well, you should look...

3 years ago | 0

Answered
Setting the Due date does not show an error when accessing past the deadline on Matlab Grader
When using MATLAB Grader in an LMS (i.e. LTI integration), due dates are not passed to MATLAB Grader, and therefore have no impa...

3 years ago | 0

Answered
Why does uiwait not work during startupFcn?
It sounds like the figure gcbf does not yet exist when you try to call uiwait.

3 years ago | 1

| accepted

Answered
I am doing MY MASTER project about feature extraction of eeg signals using matlab. can anyone help me how to do it ? please
https://www.mathworks.com/matlabcentral/fileexchange/84235-eeg-feature-extraction-toolbox https://www.mathworks.com/matlabcentr...

3 years ago | 0

Answered
how to associate the drop down selection with a number
Use the ItemsData property. See this Answer: https://www.mathworks.com/matlabcentral/answers/1975764-is-there-a-way-to-edit-the-...

3 years ago | 2

Answered
Windows AD matlab install requires admin privilege to open the IDE
Please contact support for install help. https://www.mathworks.com/support/contact_us.html

3 years ago | 0

Answered
problem to insert date in app.BackTestperiodDatePicker.Value
What is the datatype of Settings.StartingDate? It looks like it is a char, not a datetime. What happens if you modify your assig...

3 years ago | 1

| accepted

Answered
Can someone explain why when i run the main file, the graphs produced dont have values , i tried changing the range but i still couldnt see the graph
I have edited your code so that you can see what is happening. Most of your data in NaNs. Note that plots by default plot a line...

3 years ago | 0

Answered
Matlab online : must install Matlab ??
MathWorks does provide free licenses to courses through its MOOC support program. These free licenses only provide access to wha...

3 years ago | 0

Answered
How can I find out some specific dates from two date lists?
You have date information in DateList1, and date+time information in DateList2. I would add a column to DateList2 that is just ...

3 years ago | 1

| accepted

Answered
Learner statistics for Grader course
All analytics in MATLAB Grader are for individual problems only. When MATLAB Grader is used in a course hosted on grader.mathw...

3 years ago | 0

Answered
Changing x-axis scale for hours
For that to work, you would need to convert your x data to a datetime array, where there is a date associated with each time. Th...

3 years ago | 0

Answered
exporting to pdf from live script does not include control elements
Controls are part of the code, so when you export with "HideCode=true", they are not included. When you do include the code, the...

3 years ago | 2

| accepted

Answered
can someone help me regarding my code and error?
It looks like you have a dimension misalignment. Create both your variables to be either row or column vectors. However, this do...

3 years ago | 0

Answered
Matlab 2023a example folder is empty
Beginning in R2023a, the product documentation is no longer installed by default (see here). The side effect of this is that som...

3 years ago | 0

| accepted

Answered
Robotics System Toolbox installed but not working
I'll start by admitting I am not familiar with this function, but based on what I can find in the documetnation, it appears you ...

3 years ago | 0

| accepted

Answered
How to convert char data column to number and split it to cell? and merge two arrays?
For #1, use cellfun and num2cell. load tab_char(900x2).mat % Split each element of data to its own cell data = cellfun(@num2c...

3 years ago | 0

| accepted

Answered
Won't update the second graph
But b1 does not contain any NaN values here, and is a 1x10 while b2 is a 1x12. Your code would work if b1 actually contained the...

3 years ago | 1

| accepted

Answered
How to intialize a gui panel and make it visible? Why is it different from creating a button? (see example)
uipanels and uicontrol need to be placed on uifigures. You need to tell it which figure to place the components on. I would try ...

3 years ago | 0

Answered
Using Matlab classes in Grader
In my opinion, classes go a bit beyond what MATLAB Grader was designed for. Still, it is possible to create and use classes in a...

3 years ago | 0

Answered
Please help me to change the function vision.TextInserter code in this code to the function InsertText
See this page: https://www.mathworks.com/help/vision/ref/inserttext.html The examples there should help you out.

3 years ago | 0

Answered
How to change colormap based on z axis instead of y?
See this page: Color 3-D Bars by Height a=[0.636083933250372 0.212144382452125 0.0546892460944343 0.0811463126813785 0.06327742...

3 years ago | 0

| accepted

Load more