Answered
trying to multiply and divide different size matices
Not that I know of. It throws an error, right? Can't you ask the original author what their thinking was?

3 years ago | 0

| accepted

Answered
Command for Stopping the Analysis
Try something like this exceedCount = 0; for k = 1 : 1000000 % First update x in the loop. Then compare it to y. if...

3 years ago | 0

| accepted

Answered
Pick a value with some probability
Try randn with your desired mean and std r = mu + s * randn(1000, 1); % 1000 random numbers

3 years ago | 0

Answered
xlswrite Function 'openExcelWorkbook' Not Working! (New 05/2023)
Can you start Excel by itself without it asking you anything? What happened to me was that my systems were changed from using E...

3 years ago | 2

Answered
How can you create input boxes(edit field) dynamically with drop down .
I suggest you create all the boxes you think youi'll need in advance and then just set the Visibility property for the ones you ...

3 years ago | 0

Answered
Create Occupancy Map of any Shape
Do you want an image? You can use false rows = 50; % Whatever you want. columns = 80; occupancyMap = false(rows, columns); %...

3 years ago | 1

| accepted

Answered
How can I fill the area between these lines and curves?
Since your question is a FAQ, see the FAQ for code snippets: https://matlab.fandom.com/wiki/FAQ#How_do_I_shade_the_region_betwe...

3 years ago | 1

| accepted

Answered
Ideal grid for interpolation based on query points
@Tintin Milou I don't know why you keep forgetting, or refusing, to attach your data. And I don't know why you want to use a su...

3 years ago | 0

| accepted

Answered
AppDesigner Freezes under 2023a version
App Designer starts up fine for me. If it won't launch for you then it could be some kind of installation issue. In that case ...

3 years ago | 0

Answered
an question need to solve
This looks like a homework problem. If you have any questions ask your instructor or read the link below to get started: How d...

3 years ago | 0

| accepted

Answered
How can we increase/decrease the number of triangles in a triangulation that is created from a polyshape object?
To decrease the number of vertex points that describe a polygon while still somewhat resembling the original shape, see the algo...

3 years ago | 0

Answered
Error using rmdir for deleting slprj folder
You cannot delete a folder if somebody is using it or looking at it, for example if you cd'd to that folder in MATLAB, have it o...

3 years ago | 1

| accepted

Answered
How to make an inset of matlab figure inside the figure.
See attached inset demos.

3 years ago | 1

Answered
Plot two columns from a table error
What do these next 2 lines show in your command window? whos t which -all plot x = [1:5000]'; y = sin(2 * pi * x / 1000); t...

3 years ago | 0

Answered
Array indices must be positive integers or logical values.
Type clear all; to get rid of your "det" that you created previously, and then run your code either in a script or the command...

3 years ago | 0

Answered
What's the lowdown on chinese tag-team accounts posting questions+answers?
The Mathwork staff is working it behind the scenes.

3 years ago | 1

Answered
Problem finding "valleys" in signal
Is it possible your MinPeakDistance is too large? You could also try to smooth your data with movmean or sgolayfilt before usin...

3 years ago | 0

Answered
How to crop and save objects from many images?
Try this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of imtool...

3 years ago | 0

| accepted

Answered
Can I use my student license for and at work?
I would think so since your coop is part of your learning experience as a student. But you can call the sales line for an autho...

3 years ago | 1

Answered
How to remove the background from the attached image
What does "remove" mean to you? Images must remain rectangular. Using the Color Thresholder on the Apps tab of the tool ribbon...

3 years ago | 0

Answered
Split repetitive image to find pattern
If it's just a perfect replication of some tile, why can't you just scan across until a column or row is the same [rows, column...

3 years ago | 0

Answered
How to calculate mean of standard deviation (mean deviation) in a table
You forgot to attach your data, so we can't try anything with your actual data. DON'T use "table" as the name of your table bec...

3 years ago | 0

Answered
Remove static background from video
I don't think it's too hard. First you have to process some frames where the mouse is moving and get a "mode" image, which is t...

3 years ago | 0

Answered
Relation or Pattern between curves
You forgot to attach your data! It should be possible to fit any particular curve to some sigmoid kind of curve, if you have th...

3 years ago | 0

Answered
Need help increasing the speed of my code processing .xlsx files
I'd try using readmatrix or readcell instead of xlsread and see if that helps.

3 years ago | 0

| accepted

Answered
Split repetitive image to find pattern
Screenshots would help. Does your template (pattern you're searching the larger image for) change size or rotation when it's in...

3 years ago | 0

Answered
Matlab GUI: Using a custom object tag for a button
Not sure what you mean by "read the variable". You know the callback function name so just use the known name of the button. F...

3 years ago | 0

Answered
I'd like to remove variables (columns) containing specifc name
Try this: % Create sample table. rows = 5; xxxx_A = 1:rows; yyyy_B = rand(rows, 1); col3 = rand(rows, 1); t = table(xxxx_A...

3 years ago | 0

Answered
Why does my histogram go out of its frame?
I am not able to reproduce in either R2022b or R2023a. It looks perfectly fine. I'd call tech support. Maybe try a different ...

3 years ago | 0

Load more