Respondida
Importing an excel file, how to export png and excel file to a specific folder?
You can either hardcode the destination path, or can incorporate uiputfile to allow the user to choose where to save it.

más de 3 años hace | 1

| aceptada

Respondida
finding the average from csv file
There are some mistakes with your code, but the core elements are all there. create exxall as an empty array. You currently cre...

más de 3 años hace | 2

| aceptada

Respondida
this is the app designer file i have this error in the imadjust how to fix it \the file will beattached below
Your second input is not formatted correctly. It should be a 2 element vector, or a 2x3 numeric matrix. Based on where your semi...

más de 3 años hace | 0

| aceptada

Respondida
create a table in the live script
Currently, the only way to add editable tables to a live script is to use LaTeX. Although this answer is for MATLAB Grader, the ...

más de 3 años hace | 1

Respondida
Multi data set plots on App Designer
MATLAB is case sensitive. Use plot instead of Plot In app designer, you also need to specify which axes to plot into using the ...

más de 3 años hace | 0

| aceptada

Respondida
How can I resolve issue with .mlx file showing a blank screen?
Where this is unexpected behavior, I would suggest reporting this as a bug. You can do that here: https://www.mathworks.com/sup...

más de 3 años hace | 0

| aceptada

Respondida
question regarding ploting a table as a surface
Depending how exactly you are trying to duplicate the image you shared, it looks like you don't want a surface. You want to use ...

más de 3 años hace | 0

Respondida
I have the following code in Matlab, the problem is that it does not graph anything, nothing comes out of plot *does not show any error in the console
Attach your wav file to your question using the paperclip icon. It would also help to have your freq function code. Still, using...

más de 3 años hace | 0

Respondida
ODE45 for phase trajectory plot
With initial conditions [0,0,0], the results of ode45 are all zeros, so there are no gradients. Consider adjusting your initial...

más de 3 años hace | 0

| aceptada

Respondida
Sir,how can i read the QR barcode in Matlab software
See the 'Read a QR Code' example on the readbarcode documentation page. In testing this, it appears the function only works wit...

más de 3 años hace | 1

Respondida
Not enough input arguments error/ int command/ integral calculation
int is for symbolic integration. See Bora's answer if you want to perform numerical integration. The error is because of how yo...

más de 3 años hace | 0

Respondida
I want to plot ecg from the .mat file I have obtained after doing some preprocessing
You are loading your mat file variables into a structure you named ecg, so you must specify which variable in ecg to plot. Your ...

más de 3 años hace | 0

| aceptada

Respondida
How to create a function that produces 2 histograms?
I'd use tiledlayout. Rather than surf or countour, use histogram. tiledlayout(2,1); [X,Y,Z] = peaks(20); % Tile 1 nexttile...

más de 3 años hace | 0

Respondida
filling holes in the masked image please help me to replace blue color background of given giraffe image with forest image.
I would try using imclose. You can add this to your function, or process the output of your function. img = imread('giraffe.jpg...

más de 3 años hace | 0

Respondida
Error using reshape: Product of known dimensions, 304, not divisible into total number of elements, 19.
What are you trying to do? Based on your code, you are trying to reshape a 1x19 vector into an array with 304 rows, and as many...

más de 3 años hace | 1

Respondida
Restricting app slider values
Is the spacing between values uniform? If so, you can set the step property. If not, I think you would have to have your callba...

más de 3 años hace | 0

| aceptada

Respondida
Regexp to extract standalone numbers from string
Borrowing heavily from this answer and this doc page. str{1,1} = 'X?YYx0123 [un] 21ZZz20AaaB00 A200.1 21 Xx2222 202 203...

más de 3 años hace | 0

| aceptada

Respondida
Open Excel files in Apps Designer
You must pass a vaid file name to readtable. Consider modifying your code to incorporate uigetfile, which will allow your users ...

más de 3 años hace | 0

| aceptada

Respondida
How to share files from matlab mobile
I'm a little confused, but I'll take a stab. MATLAB Drive is the file system used in MATLAB Mobile (and MATLAB Online). You say...

más de 3 años hace | 0

| aceptada

Respondida
How do I replace (or remove) <undefined> with NaN in a categorical array ?
<undefined> is the value used for a missing categorical entry. NaN is for missing numerical values. You can replace missing val...

más de 3 años hace | 2

| aceptada

Respondida
Include p code in a matlab grader assignment
P-code the function on your computer, then attach the p-code file to your problem. This places the file in the current folder of...

más de 3 años hace | 1

| aceptada

Respondida
How do I switch to secondary axes in a tiled layout?
You cannot set position of axes in tiledlayout, so I would recommend setting the Layout,Tile property of the fourth axes after i...

más de 3 años hace | 0

Respondida
Can not find `Simulink 3D Animation` in Add-on Explorer
I see the same issue and will report it. It is not appearing in the search results, but you can get to it using a workaround. S...

más de 3 años hace | 0

| aceptada

Respondida
extract values from a table
If this is of datatype table, you might find the Access Data in Tables page helpful. You describe selecting data using multiple...

más de 3 años hace | 0

Respondida
Please help me how to run it :(
The error is caused by this code: df=grad(x(1),x(2)); It can't find your m-file function grad.m. From your file comments (line ...

más de 3 años hace | 0

Respondida
ODE45 requires more parameters than it should
The first 2 inputs to your function must by t and y, which they are. Those correspond to tspan_solve and IC. The remaining input...

más de 3 años hace | 0

Respondida
Getting to know the nut
I'd suggest going through the Image Processing for Engineering and Science specialization on Coursera. This was created by MathW...

más de 3 años hace | 0

Respondida
I want to display it in edit2 when I enter the value written in the edit1 text.
You need to set the String of edit2 equal to the input of edit1. I imagine the code would be something similar to this (untested...

más de 3 años hace | 0

Respondida
Plotting in 2D - hlep with axes
There is no way I know of to apply two different scales to the x axis. That means you would have to modify the underlying data, ...

más de 3 años hace | 0

Respondida
can MATLA read very large CSVs (>150GB)?
This sounds like what is called Big Data to me. MATLAB does have functionality for working with this data, A good starting place...

más de 3 años hace | 1

Cargar más