Answered
MATLAB Coder Onramp Issue - Section 4 Call C Code from MATLAB
The issue has been fixed. It is no longer necessary to add '-jit' to your solution.

3 months ago | 0

Answered
Does MATLAB work on macbook Pro with M4(M4, M4Pro, Max) tips?
You can find the system requirements here: https://www.mathworks.com/support/requirements/matlab-mac.html

3 months ago | 0

| accepted

Answered
Error using trainNetwork (line 191) Invalid network.
You are missing an input layer for your model. See the final error message: " Layer 'input_sequence': An input layer must be fir...

3 months ago | 0

| accepted

Answered
matlab Ctrl-R not working to running the program
I was able to set the keyboad shortcut for run or continue execution to CTRL+R. It worked, but only in a script. It does not app...

3 months ago | 0

| accepted

Answered
Can I use figures generated by view(net) command freely in my thesis and academic papers?
I can't provide an official response for the company, but I know of no reason why not. Perhaps this answer on citing MathWorks ...

3 months ago | 0

| accepted

Answered
Tiled layout with a nested graph spanning multiple tiles
Perhaps it's your 'order of operations'. What if you add the floating axes last? figure tiledlayout(1, 6) nexttile([1 5]) ...

3 months ago | 2

| accepted

Answered
Issues with tables and writetable from data passed from uitable
When I use your code, it saves a text file with headers. T = uitable("Data",rand(10,6)*200); T.ColumnName = {'Idx' 'YPos(mm)...

3 months ago | 0

| accepted

Answered
Very new to this and need help making a contour plot that shows correlation between weight of powder, bullet seating depth, and group size.
If you are completely new to MATLAB, consider going through MATLAB Onramp. This is a free, self-paced 2-hr course that will intr...

3 months ago | 1

Answered
MATLAB GRADER VIEW LEARNER ANSWERS BY LEARNER ID
Your search options are slightly different depending on if you are running your course on grader.mathworks.com (a Grader hosted ...

3 months ago | 0

Answered
How do I extract data point from a cell inside a heatmap?
I'm sure there's a way to develop something that does this graphically, but I would use groupsummary to create the heatmap resul...

3 months ago | 0

Answered
Help with assessing learners work
Given my comment above, I wonder if the learner solution contains a syntax error. If yes, then everything is marked incorrect. ...

3 months ago | 0

Answered
Figures saved with MATLAB New Desktop cannot be opened in MATLAB Online or on the local computer with MATLAB Old Desktop
This is a known issues with the beta version. Development is aware, but there is currently no fix for this in R2024b.

3 months ago | 0

| accepted

Answered
In App Designer, how can I keep the X and Y Grids on top of an image I display in UIAxes using imshow?
This has to do with how images are displayed in MATLAB, meaning the issue is not unique to App Designer. I would use xline and ...

3 months ago | 0

| accepted

Answered
I need to correct the script for coloring map
The reason your masks are all 0 is because all 3 channels have the same value. You can confirm this using the imageViewer app. Z...

3 months ago | 0

Answered
Difference between RMSE of Curve fitter and calculated RMSE in MS Excel
In Excel you are calculating RMSE using all residuals. In MATLAB you are calculating RMSE using Least Absolute Residuals. There...

3 months ago | 2

Answered
Gradient color filled bar plots.
See this answer: https://www.mathworks.com/matlabcentral/answers/1765710-how-to-draw-a-bar-chart-with-a-color-gradient-with-matl...

3 months ago | 1

Answered
What to change in the given code for Plotting SPR curve between R and wavelength?
I believe the issue you have is that the values used to compute rp never change, which means it computes the same ref_value in e...

3 months ago | 1

| accepted

Answered
2D matrix resize or interpolation
Q1: B = imresize(A,[numrows numcols]) Q2: What type of images are you working with? Please share an example. You can attach ima...

3 months ago | 0

Answered
Keeping the scale in subplots when one is changed
Because you use axis square for your 2nd plot, the aspect ratios of the data are different. This is why setting position does no...

3 months ago | 0

| accepted

Answered
Trying to create a drop down that will open a new uifigure, nothing happens when I click confirm?
The value of selectedOption is a number corresponding to the item selected (e.g. 1, 2, 3, etc). You need to update your cases a...

3 months ago | 0

| accepted

Answered
Plotting range of files using hold on in for loop
I think you need to add a figure command to your code. Otherwise, plot will overwrite the current figure. startIndex = 1; endI...

3 months ago | 0

Answered
Como evaluar un curso hecho en la plataforma de Matlab?
It sounds like you want a way to determine if your learners have completed a self-paced online course from MathWorks. I can thin...

4 months ago | 0

Answered
Legend for multiple data series at once
In MATLAB, each column of data is treated as a series, and by default, each series gets its own legend item. You are plotting 5 ...

4 months ago | 1

| accepted

Answered
MathWorks Self-Paced Online Course License Error -5
How are you trying to open the course? I think you need to select 'Launch in Browser' from the course page instead of trying to ...

4 months ago | 0

| accepted

Answered
R&S waveform (.wv) files read and write!
Your file format is definitely different. Rather than being all binary, like the example I linked to, it captures the binary dat...

4 months ago | 0

| accepted

Answered
Error in Simscape battery Onramp
That portion of the model is all provided for you. I suspect something didn't load correctly. I was able to complete this task...

4 months ago | 0

Answered
How to rotate image 3D
I noticed you must be using R2024a instead of R2024b. Some of the functionality this code uses is no longer available in R2024b,...

4 months ago | 0

| accepted

Answered
Is it possible to plot a vector arrow using quiver( ), then, negate the vector so it points in the opposite direction, but then add arrowhead in original direction?
Perhaps you could share a working example? When I negate U and V, the arrows point the opposite direction. I also modified the ...

4 months ago | 1

| accepted

Answered
MATLAB Code Solution Assessment
There is no built-in way to check how learners created subMat. However, there are 2 aproaches you could take that would prevent ...

4 months ago | 3

| accepted

Answered
What is the heat flow sign convention for a Simscape Temperature Source?
First a caution. Do not assume direction based on block orientation. You would get the same results no matter the orientation of...

4 months ago | 0

| accepted

Load more