Answered
What is the different if the value of the image is 0 and 1, and if the value of the image is 0 and 255?
The range of values, and more particularly, what value corresponds to white, is determined by the data type of your image. What ...

2 years ago | 0

| accepted

Answered
Is "geoglobe" currently bugged?
The best way to find out is to contact support. Since it works on some machines but not others, they will likely need to get mor...

2 years ago | 0

| accepted

Answered
Matlab dates and time not aligning after combining
One issue is that your RecHour variable is not minutes. It is time of day in military time format (no colon. Should be 4 numbers...

2 years ago | 1

| accepted

Answered
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...

2 years ago | 2

Answered
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...

2 years ago | 1

Answered
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...

2 years ago | 0

Answered
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. ...

2 years ago | 0

| accepted

Answered
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...

2 years ago | 0

Answered
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...

2 years ago | 0

Answered
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...

2 years ago | 1

Answered
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...

2 years ago | 1

| accepted

Answered
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 ...

2 years ago | 0

| accepted

Answered
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 ...

2 years ago | 1

Answered
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 ...

2 years ago | 0

Answered
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

2 years ago | 1

| accepted

Answered
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...

2 years ago | 1

| accepted

Answered
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...

2 years ago | 1

| accepted

Answered
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...

2 years ago | 1

Answered
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...

2 years ago | 0

| accepted

Answered
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...

2 years ago | 2

| accepted

Answered
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...

2 years ago | 0

Answered
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...

2 years ago | 0

Answered
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...

2 years ago | 0

| accepted

Answered
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...

2 years ago | 0

| accepted

Answered
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...

2 years ago | 0

| accepted

Answered
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...

2 years ago | 1

Answered
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...

2 years ago | 1

| accepted

Answered
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-...

2 years ago | 0

Answered
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...

2 years ago | 1

Answered
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...

2 years ago | 1

Load more