Answered
Find values per day using a bin width.
A little creativity with groupsummary will get you the data you want. It allows you to group your data by day and by user-define...

5 years ago | 0

| accepted

Answered
Adding time and date to table
In MATLAB, all elements of one table variable should be of the same data type. For this reason, I suspect your table in MATLAB h...

5 years ago | 1

| accepted

Answered
Connection Error when installing add on
Try the suggestions mentioned here: https://www.mathworks.com/matlabcentral/answers/92634-why-do-i-get-a-connection-error-when-...

5 years ago | 0

Answered
How to reset zoom of MatLab coding window
Like scripts zoom similar to a browser. You can use ctrl +/- to zoom in/out. You can also use the crtl + scroll wheel of your mo...

5 years ago | 0

Answered
Adding a label to a data point on a graph that can be toggled to view by clicking on it
You could use the built in datatip functionality.

5 years ago | 0

| accepted

Answered
How can I uninstall Matlab Drive Connector?
You can find uninstall instructions here: https://www.mathworks.com/help/matlab/matlab_env/install-matlab-drive.html#mw_9e8476c...

5 years ago | 1

Answered
Color Variable not working in GeoBubble
Try the following syntax geobubble(lat,lon,sizedata,colordata) For your data, that means the following. geobubble(EventTypes....

5 years ago | 0

Answered
Update on filtering table
Use logical indexing instead. You can do that without the for loop. (untested) if ... rowsdelt = app.UITable3.Data(:,app.C...

5 years ago | 0

| accepted

Answered
Figure axis: How can I change '0 1 2 3' into '0.0 1.0 2.0 3.0' while keeping ' x 10^9' on the top of y axis ?
Use the function ytickformat. x=-2:2; y=[0 0.75 1.5 2.25 3]*1e9; plot(x,y) ytickformat('%.1f')

5 years ago | 0

| accepted

Answered
Matlab Grader and resample()
I assume this is the website example you refer to? It works for me when I create and run the problem in a collection. Have you c...

5 years ago | 1

Answered
Find and fill in missing records/data/lines/rows from array
There's not enough details to be able to provide a solution, but take a look at the following functions ismissing fillmissing ...

5 years ago | 0

Answered
How do I display a plot based on the user input value?
You do not appear to have a variable yearBuilt. If this is part of your mat file, note that the syntax you use to load it loads ...

5 years ago | 0

| accepted

Answered
How do I put a .mat file into a function?
If you know the name of the mat file, you don't have to pass it in. As long as it is accessible (in the current folder, or in a ...

5 years ago | 0

| accepted

Answered
Add Specific Numbers to x-axis
Use the xticks and possibly xticklabels function. x=0:142; y=linspace(0.1, 2.7,length(x)); bar(x,y) xline(52,'m--') xticks...

5 years ago | 0

| accepted

Answered
Scale right y-axis to the values on the left y-axis
I don't see how changing the scale of your Y Axis is going to help you. No amount of uniform stretching or compressing is going ...

5 years ago | 0

| accepted

Answered
Import or Export a Sequence of Files
Perhaps the issue is that paths is a structure containing several fields and not just the path. Look at the dir documentation pa...

5 years ago | 1

| accepted

Answered
Matlab does not plot data which are mirrored data
It's plotting it all. It just appears that your data overlaps itself. Compare these examples r=abs(-1:0.1:1); u0=-abs(-1:0.1:...

5 years ago | 1

Answered
explanation of this code
It means "or". See here.

5 years ago | 0

Answered
Importing Excels sheets into app desinger
The importdata function does not have an input for specifying Sheet. I suggest using readmatrix or readtable, which do allow you...

5 years ago | 0

| accepted

Answered
plot the deformed shape
Your syntax for applying the deformation is correct. Perhaps your values of Displacement are not what you expect? We don't have ...

5 years ago | 0

| accepted

Answered
Help with regexp of varying filenames
Perform 2 checks, one for MESA, one for MAF. They use max on the combined result. % Case 1 cur_study_path='E:/MESA/IMAGES/Exam...

5 years ago | 0

Answered
Help clearing up "Unrecognized function or variable 'dt'."
Based on the code you've shared, and the error message you are getting, you have not defined the variable dt that you are using ...

5 years ago | 0

Answered
How do I download purchased toolboxes?
Use the Add-Ons explorer. See this page.

5 years ago | 0

| accepted

Answered
ODE45 Related Question
I'm no expert, but I think if you create your own odefun, you can use an if statement to change the equation you use based on th...

5 years ago | 0

| accepted

Answered
Looping error where i want to get 5 instances of any same number in a column
With a little creativity, this can be done without using loops. n = [8,8,8,8,8,8,9,9,9,9,9,9,9,9,5,5,5,5,5,1,1,2,2,5,4,3,6,7,9,...

5 years ago | 0

| accepted

Answered
Displaying an integer value in a numeric edit field in App Designer
This is related to the display format. In the property inspector, loof for the ValueDisplayFormat property. The default is $11.4...

5 years ago | 1

| accepted

Answered
3D or surface plot
If you are going to build A using nested for loops, then you need to capture the result of each loop. You are currently overwrit...

5 years ago | 0

| accepted

Answered
"parse error at '=': usage might be invalid MATLAB syntax." on lines 34 and "parse error at END: usage might be invalid MATLAB syntax" on line 37. Please help! Thanks!
You have used the wrong syntax to declare your function. Expected syntax is function ave = average(x) ave = sum(x(:))/nume...

5 years ago | 0

Answered
Can i run matlab 2020b version code in 2020a ?
The documentation will refer to the latest version of MATLAB, which is currently 20b. This example was included in R202a as well...

5 years ago | 0

| accepted

Answered
How to split an array into individual values for passing them into a multiple input function?
If the function has 3 input arguments, MATLAB expects each input to be separated by commas. The way I would do this is to pass i...

5 years ago | 0

Load more