Submitted


gif2avi
Converts GIF images to AVI (or MP4) video files.

6 years ago | 2 downloads |

5.0 / 5
Thumbnail

Answered
Multiple Z axes in a 3d plot
Matlab does not have a method of plotting in 3D with two z-axes. To make the task even more difficult, there is no ZAxisLocati...

6 years ago | 0

| accepted

Answered
How to find factorial(c) of an array of numbers?
N must be an array of real non-negative integers. To troubleshoot that error message, let's go through the list of possibilitie...

6 years ago | 0

| accepted

Answered
How to add a column with all rows have the same data in a table?
Demo % Create table T = table([1;2;3;4],'VariableNames',{'Data'}); % Create date vector data = datetime('now') + (1:4)'; ...

6 years ago | 0

| accepted

Answered
How to convert a GIF file to a AVI file?
I've written a function that converts GIF --> AVI based on Walter's 2018 answer. Download gif2avi() gif2avi(file) will convert...

6 years ago | 2

| accepted

Answered
How to add 3rd Y-axis at right side?
Follow this example of creating 3 y-axes with two on the left and one on the right. To set the duplicate axes on the right side...

6 years ago | 0

| accepted

Answered
I want to import image on app designer with drop down button
Your error message tells you exactly what you need to do. "Specify a UIAxes as the value for 'Parent'." It looks like you're ...

6 years ago | 0

| accepted

Answered
Plotting Chart With 2 X Axes and 2 Y Axes
In the example plot provided in the question, the x axis is the same for both pairs of axes. To use a left and right axes with ...

6 years ago | 0

| accepted

Answered
error while using Remote desktop access
This is a Windows 10 error not associated with Matlab. The error may be occuring on the remote compute or an interaction betwee...

6 years ago | 0

| accepted

Answered
Pop up menu condition push button
Each of the popup menus should have a callback function that checks the selection of all 4 popup menus. Use a conditional state...

6 years ago | 0

Answered
Setting X-Axis with Text Labels
Try this. If it doesn't work, please elaborate. set(gca,'XTick',1:6,'XTickLabel',Tools) I assume Tools is the cell array of ...

6 years ago | 0

| accepted

Answered
keep the index of removed array in cell
What's the rule for matching values of S to M? For example, row 11 of M contains 2 and 5 which are both listed in S{4} but the ...

6 years ago | 0

| accepted

Answered
Valid_date function
"I am having some troubles with the logical operators in "day"." That doesn't give us enough background infomation to know what...

6 years ago | 0

Answered
timetable for average value
x2mdate() converts from excel serial date number to Matlab serial date number. An optional 3rd input allows you to convert the ...

6 years ago | 0

Answered
How to assign numbers to categorical values in a dataset?
If you want to return logical values, dummyVars = Holiday ~= '0'; % Holiday is categorical If you want to return integer val...

6 years ago | 1

| accepted

Answered
problem to concatenate table due to "cell and non cell" error
One possibility is that the cell / non-cell mismatch is being caused by a different column in the table. Here are two ways yo...

6 years ago | 0

| accepted

Answered
Looping each row from one matrix to the other matrix
You were close. Instead of referencing only 1 row of B, reference the entire matrix. [lia, locb] = ismember(A, B, 'rows'); ...

6 years ago | 0

| accepted

Answered
undefined function 'corrplot
corrplot is part of the Econometrics Toolbox. Run this command to determine if you have the Econometrics Toolbox installed on y...

6 years ago | 4

Answered
Matlab App Designer ListBox.Value changes when ItemsData is an array
I think what you're looking for is, [~,index] = ismember(app.ListBox.Value, app.ListBox.ItemsData); % Note: ItemsData % Thi...

6 years ago | 0

| accepted

Answered
Find Intersection coordinates of Contour and line plot
Jackson Foley, I've just updated the getContourLineCoordinates function, please download the latest version (1.1.0). The (x,y) ...

6 years ago | 0

| accepted

Submitted


getContourLineCoordinates
Get a table of contour line coordinates from a contour object.

6 years ago | 6 downloads |

5.0 / 5
Thumbnail

Answered
[DISCONTINUED] MATLAB Answers Wish-list #5 (and bug reports)
I just realized today that you can name a table variable with leading or trailing whitespace which prevents you from accessing t...

6 years ago | 0

Answered
How is the partial correlation computed?
(Answering this question 4 years later) A partial correlation should not return a 3D array. Here' the correct way to interpret...

6 years ago | 3

Answered
Concatenate horizontally two tables
Follow this demo to automatically add "2" to duplicate variable names in table #2. Also see Guillaume's suggesting to use mat...

6 years ago | 1

Answered
how to make randi and randint give out same data
Note the difference in syntax between the new and old random integer functions Old documentation for randint: https://www.math...

6 years ago | 1

Answered
App to app transfer
Presumably the value 2 is stored somehwere in app1, either in a UI component or as a property. To exchange any value between t...

6 years ago | 0

Answered
How to add tick just for the left axis
Here are two methods to show ticks only on the left axis. Use yyaxis This method creates a 2nd y axis on the right that is ind...

6 years ago | 2

| accepted

Answered
prompt user to input n matrices
The input function is highly flexible which means that the user can enter virtually anything that will satisfy the command such ...

6 years ago | 1

Answered
Multiple selection of data (dates,months,days,hours)
Follow these steps to prepare in your data more efficiently and in a user-friendly format. Use readtable to read in the data. ...

6 years ago | 0

| accepted

Answered
How to shade area under curve and x axis in log-log scale?
Apply a patch to a loglog plot If the curve is defined by x and y which are both row vectors, bottom = min(ylim); % or botto...

6 years ago | 0

Load more