Answered
How to get specific tick axis values equally spaced, independently of their values?
You have created your image using this format: imagesc(x,y,C) In an image, the rows of your matrix correspond to y, and the co...

3 years ago | 0

Answered
Yesterday I bought the student license, is it normal that I don't have access to paid features yet?
To clarify for the community, you have purchased a student license for ThingSpeak, not MATLAB. The student license allows you ...

3 years ago | 2

Answered
Who can refactor this code to open in Matlab2020
There does not appear to be a vision.TextInserter function or method. Perhaps you are meaning to use insertText? See here: http...

3 years ago | 0

Answered
error: X and GROUP must have the same length.but the lengths are the same. This must be a malfunctin how can i fix please help
The issue is that X is a 2x108 but Group is 1x3. They must be the same length. See this example: https://www.mathworks.com/help...

3 years ago | 0

| accepted

Answered
Convert Julian Date to Calendar Days.
Perhaps a bit convoluted, but this appears to work. I haven't compared it extensively to the orginal data. Note that the display...

3 years ago | 1

| accepted

Answered
Circuit Simulation Onramp Error
A couple suggestions are to return to task 5, submit, and then advance to task 6 again. Another thing to try in, in task 6, run...

3 years ago | 0

Answered
Grouping multiple variables in boxplot with different numbers of samples
It is possible to create a plot like this in MATLAB, but with boxchart, not boxplot, and your inputs must be vectors, not matric...

3 years ago | 0

| accepted

Answered
No Option to Upload images by adding links in Matlab Central
EDIT: This may be limited to Windows OS and Chrome browser. I haven't tested extensively. I'm able to do this, but feedback wo...

3 years ago | 1

Answered
Matlab 2023 release of Datafeed Toolbox, with function "signals" breaks - well, so much
You should report this to MathWorks. You can do so here: https://www.mathworks.com/support/contact_us.html

3 years ago | 0

Answered
I am having trouble using the se3 transformation matrix function in MATLAB
What version of MATLAB are you using? I edited your post so the code could be run here, and it works without error. Note that s...

3 years ago | 0

Answered
is there a command similar to map() that you can use in Matlab
This sounds similar to what the rescale function does.

3 years ago | 0

Answered
How to find selection frequency in a txt file?
Do not use load. I would probably use readmatrix. Note that your rows do not all have the same number of elements. These rows a...

3 years ago | 1

| accepted

Answered
How to produce triangular heatmap without the baorder with imagesc?
Are you talking about the axes outline? If so, use the box function to turn it off for i=1:25 for j=1:25 if i<j aa...

3 years ago | 0

| accepted

Answered
I keep getting this error Error using sym/subsindex Invalid indexing or function definition. Indexing must follow MATLAB indexing. Function arguments must be symbolic variable
f and h are not funtions. They are vectors. Not sure exactly what you are intending your code to do, but you cannot index a vect...

3 years ago | 0

Answered
Cantor function in matlab
You might find these 3 videos from the Mastering Programming in MATLAB Coursera course helpful. Recursion Part 1 Recursion Par...

3 years ago | 1

Answered
How to align XTicks with boxplots, code and the output is attached ?
See this answer: https://www.mathworks.com/matlabcentral/answers/1949893-how-to-avoid-horizontal-shifts-after-applying-groupbyco...

3 years ago | 0

| accepted

Answered
Using a for loop to hide multiple components on app designer
No, a for loop wouldn't help here. If your design allows for it, you could place all the spinners on a panel, and toggle the vis...

3 years ago | 1

| accepted

Answered
How to send data from matlab to arduino by Serial?
It looks like you are using an older syntax. See this page: https://www.mathworks.com/help/instrument/transition-your-code-to-s...

3 years ago | 0

Answered
What is the correct way to call different functions from different scripts and use them in a program?
It would appear you have created a function file with some code after the local function that is not enclosed in a function argu...

3 years ago | 0

Answered
Using for loop to create animatedline of sequenital rows in table
I'm not sure your want an animatedline, as your x values don't change. animatedline is best in situations where you add addition...

3 years ago | 0

| accepted

Answered
Make a presentation with actxserver without displaying the presentation
It seems the current way to do this in VBA code would use the following syntax expression.Open (FileName, ReadOnly, Untitled, W...

3 years ago | 0

| accepted

Answered
Scale datetime to the length of longer array
There are 26 days between 3-3 and 28-3. That is what a step of 1 day will give you. I would format the xticks to display in you...

3 years ago | 0

| accepted

Answered
How to generate a complex signal data to test an Algorithm?
See this Answer: https://www.mathworks.com/matlabcentral/answers/1942559-how-can-we-generate-complex-signal-data-and-save-it-to-...

3 years ago | 0

Answered
image recognition in MATLAB
You might be interested in two specializations MathWorks has created on Coursera: Image Processing for Engineering and Science ...

3 years ago | 0

Answered
I am having problem with chapter 15(15.2) Vectorizing the Comparison Function in Matlab fundamentals course.
See this Answer: https://www.mathworks.com/matlabcentral/answers/1935529-increasing-automation-with-functionsfunction-files-4-4-...

3 years ago | 0

Answered
Stop live editor show results in same window.
Update your figure command to use the following name-value pair: figure('Visible','on')

3 years ago | 1

Answered
Legend for selective plot
Use the 'DisplayName' property. %first column is the counter ID number, and remaining vector are values the counter counted. m...

3 years ago | 0

| accepted

Answered
Only last iteration of for loop
I think the reson you are only getting the final bar is because your hold on is not being applied to your UIAxes. In app designe...

3 years ago | 0

| accepted

Answered
Making a graph with multiple different colors
Just use plot with a legend data = readmatrix('project.xlsx') varNames = ["Number","Amplitude","PSD","Recurrance_Rate","Recurr...

3 years ago | 1

Answered
This code performs heat transfer.
Your code is written expecting Fo and Bi to be a vectors, but they are scalars, so only ever has 1 element. You get this error a...

3 years ago | 0

Load more