Answered
How can I make this code a function to extract data and use the data in another code?
I would use the refactor button. See here: https://www.mathworks.com/videos/convert-code-to-reusable-functions-using-the-refacto...

2 years ago | 1

Answered
matrix calculation reshaping and diferences between datum
I'd use scatteredInterpolant probably. Also, you can simplify your code a little by accessing the data in your tables more dire...

2 years ago | 0

| accepted

Answered
Issue with imresize, resizeParseInputs
At least one of your resize dimensions is 0. It appears, then, that your code is producing a result you did not anticipate. Chec...

2 years ago | 1

Answered
Classify error: requires 3 arguments
I cannot duplicate your error. I used this example to create a sample data set. I then trained that data using your code, and th...

2 years ago | 0

Answered
I'm trying to run this script in matlab mobile but giving me an error
MATLAB Mobile does not support Java user interfaces (your inputdlg's and questdlg's).

2 years ago | 1

Answered
Installation sequence for toolboxes as part of Audio Toolbox
I would install them using the Add-Ons Explorer. This will also tell you if you already have access to these toolboxes. It wi...

2 years ago | 0

Answered
How to get a digital certificate/link for older release self-paced training courses?
See this Answer: https://www.mathworks.com/matlabcentral/answers/2063562-how-do-i-share-my-progress-certificate-for-the-self-pac...

2 years ago | 0

Answered
Cant assign an input in a function with an elseif condition
Remove the clear statements in your code.

2 years ago | 0

| accepted

Answered
how to import StormEvents_2013.csv in MATLAB 2019a
Questions about your course are best asked in the course forum. They are actively monitored. The most common cause for this is ...

2 years ago | 0

Answered
How do I share my progress certificate for the self-paced online courses?
There is not a way currently to get a shareable link for a version of the course that is no longer available on the platform. On...

2 years ago | 1

| accepted

Answered
I seem to be running into problems with my code for a wind rose application could somebody help?
"Error using xlsread. Sheet argument must be a string scalar, a character vector, or an integer." Try this instead: [~,jaamstr]...

2 years ago | 0

| accepted

Answered
Create a map with upload longitude and latitude from excel and add data with a contourplot
m_map is a 3rd party tool You can find their user guide here: https://www.eoas.ubc.ca/~rich/mapug.html As for importing data, i...

2 years ago | 0

Answered
Downloading a compressed archive folder from a URL
It is a secure site only accessible to signed-in users. I found I could successfully download the file if my request also includ...

2 years ago | 2

| accepted

Answered
ERROR 'unable to resolve name'
Look in your Workspace (lower left). The table Results does not yet exist. You need to run the first section of code first in or...

2 years ago | 1

| accepted

Answered
Training deep learning model on MATLAB online
I'm having a hard time finding a reference for this, but to clairfy, there is a 15 minute idle session timeout. If you are activ...

2 years ago | 1

Answered
how create app design by MATLAB to read file(wav file),plot signal as audacity, calculate fft (spectrum) and plot fft?
It sounds like you are new to App Designer. I highly recommend going through the App Building Onramp. It's free, and will walk y...

2 years ago | 0

Answered
How can I format the time as h:mm:ss?
Durations do not support that particular format. The closest you could get with a duration is 'hh:mm:ss'. t1 = duration(7,41,30...

2 years ago | 0

| accepted

Answered
Overplotting of scatter points on top of coastlines
Why not reverse the plot order? Plot your scatter first, and then your coastlines on top of them? I did have to modify some of ...

2 years ago | 0

| accepted

Answered
permute with exact repeats
I think this does what you are looking for. v = 1:3; % create all 5-digit possible combinations T = table2array(combinations(...

2 years ago | 2

Answered
How to interpolate between multiple contour plots?
You could probably use interp3 if you concatenate all your 2D matrices together in the 3rd dimension. Vq = interp3(V,Xq,Yq,Zq)...

2 years ago | 1

| accepted

Answered
inpolygon, different results from MATLAB R2022a and R2023a?
This is not an official MathWorks answer. My observation is the following. You used to be able to define a rectangular ROI by s...

2 years ago | 3

Answered
Comparison Using a Tolerance
The issue in both cases is that there are 2 "isequal_tol.mlx" files open. Please close them both, then either click Reset or na...

2 years ago | 0

Answered
Plot 3D Dome - no topo60c file available
You need to open the example locally in order to have access to the mat file. Use the following command: openExample('map/mapex...

2 years ago | 0

Answered
explain this matlab code please
From ChatGPT This MATLAB code performs the following tasks: Clears the command window and removes all variables from the wor...

2 years ago | 0

Answered
how to import a chemical kinetic model in Cantera (.yaml)
This seems like a question for the developers of Cantera. I found this page on their website about creating *.yaml files https:...

2 years ago | 0

| accepted

Answered
How do I match 2 timetables via a Left Join (outerjoin)
I would recommend using the Join Tables Live Task to perform your join interactively. Once you find the settings that get you th...

2 years ago | 0

Answered
Passing edit field numeric values to base workspace
An example app I created works as expected. % Value changed function: EditField function EditFieldValueChanged(app, event) ...

2 years ago | 0

| accepted

Answered
Loading weird data and without extension
It does help. So each variable has a width of 6 There are 36 columns of data, 16 rows for each day. Something like this would ...

2 years ago | 0

| accepted

Answered
extracting data from .ags file
Not pretty, but here's a quick and dirty template you can use to import AGS files. Since it appears the number of tables in the ...

2 years ago | 1

Load more