Respondida
Too many input error when generating random number using exponential distribution
You have a function that is shadowing the builtin exprnd.m file. Rename your file (the one at D:\dynarc\5.4\matlab\missing\stats...

más de 2 años hace | 2

Respondida
Smooth noisy data.
You seem to know how to smooth your data in MATLAB, but are struggling with what the appropriate settings are. I'd suggest explo...

más de 2 años hace | 1

Respondida
Summary for a matlab code
Here's a summary created by ChatGPT. I have not checked it for correctness. The provided MATLAB code implements the Naïve Gauss...

más de 2 años hace | 0

Respondida
How do you add values to an array, but keep the previous values
Is there more to your code? Keep in mind variable scope. Because you are inside a function, there are no previous values of LN. ...

más de 2 años hace | 0

| aceptada

Respondida
Como abrir el comando de neural netwok toolbox
Neural Network Toolbox ha cambiado de nombre. Ahora se llama Deep Learning Toolbox. Ya no hay un comando nnd2n1 en el Deep Lear...

más de 2 años hace | 0

Respondida
Cropping an irregular image in matlab
I think what you are describing is called a mask. If your analysis uses color-based criteria, then I suggest using the Color Thr...

más de 2 años hace | 0

Respondida
readtable error : read all columns into a single column
It looks like MATLAB is not correctly identifying the delimitar, which is a tab. You can manually specify that. Some fo the dat...

más de 2 años hace | 1

Respondida
How to ignore comment character from header/variable names line
When an import function has an input that allows you to specify CommentStyle, that is so that it knows to ignore everything afte...

más de 2 años hace | 1

| aceptada

Respondida
Increasing Automation with FunctionsFunction Files(3/4) Comparing Using a Tolerance [Solution not working]
You have 3 files open: the solution, and two live scripts for entering your answer. I suspect that is causing the problem. Copy ...

más de 2 años hace | 0

| aceptada

Respondida
how to obtain a fit with nonlinear regression data?
The equation needs to be entered as a char array or string. You also need to have Name-Value pairs for the optional inputs. See ...

más de 2 años hace | 1

Respondida
Why do I get“Error using plot Vectors must be the same length."
Make sure t and Im have the same number of elements. Ts = 0.001; To = 0.5; t = 0:Ts:To-Ts; N = length(t); d = [0 1 0 1;0 ...

más de 2 años hace | 0

Respondida
Matlab R2023b App designer bug? Code view only shows half of the codes and I can't edit the hidden ones
I suggest contacting support: https://www.mathworks.com/support/contact_us.html

más de 2 años hace | 1

| aceptada

Respondida
Error while reading table
I noticed that the variable names in the imported table are not matching the names I see in the file. Upon further investigation...

más de 2 años hace | 1

| aceptada

Respondida
Is there a way to check answers using rand in MATLAB Grader?
Random numbers can be treated the same as other variables. Reference and Learner solutions share the same seed, meaning they wil...

más de 2 años hace | 1

| aceptada

Respondida
i have made an excel sheet which has values in 1st column and 'yes'/'no' in the 2nd. i want to extract values which show 'no' and display it. how can i do that?
I'd do this data2=readtable("convergencecheck5.xlsx","TextType","string") data2.Values(data2.Converge=="no") You haven't shar...

más de 2 años hace | 1

Respondida
Streamline plot does not make sense
I think the issue becomes more clear if you create your quiver plot using the following syntax: quiver(X,Y,U,V) phase_long=[9 2...

más de 2 años hace | 0

| aceptada

Respondida
Grouping 2D contour plots into a 3D Figure
I would stack you 5x5 matrices together to create a volume V. I would then use meshgrid to create X, Y and Z arrays the same si...

más de 2 años hace | 2

| aceptada

Respondida
Variable check1 must be of size [1 1]. It is currently of size [1 4]. Check where the variable is assigned a value.
check1 is likely a variable the instructor created for grading purposes. Based on the test description (Is graph colored and sty...

más de 2 años hace | 0

Respondida
changing categorical binary values to integer 1 and 0 - beginner
First, use mergecats to combine categories that will share the same category name. You can then use renamecats to rename your ca...

más de 2 años hace | 0

Respondida
How to sum up specific columns based on the values in a different column
If your only group is Month, then I'd just sum the columns first, and then use groupsummary to sum data from the same month. ye...

más de 2 años hace | 0

| aceptada

Respondida
how to plot a map
You could use shapefiles (see this answer: https://www.mathworks.com/matlabcentral/answers/361871-plot-india-map-at-the-backgrou...

más de 2 años hace | 0

| aceptada

Respondida
Boxchart function gives empty group
This is because your data is categorical. For this datatype, the categories are independent (in some respect) of the values. box...

más de 2 años hace | 0

| aceptada

Respondida
Best practice: should a function return a row vector or a column vector
Just my opinion here. I think it is entirely dependent on how you intend to use the output. For your (x,y) example, I would us...

más de 2 años hace | 1

Respondida
List of a predefined deep learning layers
I don't know if there is a detailed explanation somewhere of the ResNet-50 network.This is a pretrained network that can be adde...

más de 2 años hace | 1

| aceptada

Respondida
Need help outputting game into interface or graph
Yes, using App Designer. Here's a getting started tutorial: https://www.mathworks.com/help/matlab/creating_guis/create-a-simple-...

más de 2 años hace | 0

Respondida
extracting lat/lon from tif file using matlab
See this answer, which was updated in 2022. https://www.mathworks.com/matlabcentral/answers/8865-geotiffread-getting-latlon-inf...

más de 2 años hace | 1

Respondida
prctile function and percentile function in excel
The differences you are seeing is because they are using different algorithms. There are many different ways to calculate percen...

más de 2 años hace | 1

Respondida
Ejercicios de electrónica de potencia
I would start here: Power Electronics Simulation Onramp

más de 2 años hace | 1

Respondida
unexpected behaviour of SliceViewer ScaleFactors
While perhaps unexpected, this is consitent with how the documentation describes anisotropic volumes are displayed. https://ww...

más de 2 años hace | 0

Respondida
is optimtool function working in the lastest Matlab 2023a? Kindly provide me updated code.
The Optimization App (optimtool) has been removed (see R2021a release notes here). It has been replaced by the Optimize Live Ed...

más de 2 años hace | 2

| aceptada

Cargar más