回答済み
I want to combine these two plots so they are placed sequentially in a bigger graph spanning -2 to 2. everything i try alters the data the plots show which i want to avoid.
Try putting hold on before you call plot. Then I think both the fplot curve and the plot curve should show up on the same axe...

8ヶ月 前 | 0

回答済み
How can I move the find & replace window or get it to automatically close
I don't think there is any way to get the "find" window vanish on its own after you find the first match. So you'd have to clic...

8ヶ月 前 | 1

回答済み
How to truncate empty cells from a cell array?
Try this: number_cell = cell(4,4); number_cell(1,1) = num2cell(1); number_cell(1,2) = num2cell(2); number_cell(1,4) = num2ce...

8ヶ月 前 | 2

| 採用済み

回答済み
Make command line returns appear on separate lines, not one semi-colon-delimited line
Try this: allInOneCharArray = genpath(pwd) separateFolders = strsplit(allInOneCharArray, ';')' Each folder is a string in a c...

8ヶ月 前 | 0

| 採用済み

回答済み
Motion tracking a marker using a webcam
@Alysia, see attached demo where I track a green Sharpie marker in a video. You'll have to adapt it to use getsnapshot to get l...

8ヶ月 前 | 1

回答済み
Add Tooltip to each UI Tree Checkbox in App Designer
If anyone would know how to do it, it would be Yair Altman. Undocumented Matlab https://undocumentedmatlab.com/articles/images...

8ヶ月 前 | 0

回答済み
check out a matlab code method
It helps if you indent your code properly and put one line of code per line. Try this: if Bearing_Type == 7 % fluid film...

8ヶ月 前 | 0

| 採用済み

回答済み
Seeking advice from experts
What you have is essentially this % Initial script % code..... %-------------------------------------------------------------...

8ヶ月 前 | 0

回答済み
MATLAB problems after starting
What does path show in the command window (if that even works)? Maybe try restoredefaultpath in the command window and then...

8ヶ月 前 | 0

回答済み
Indexing in a matrix vs vector
i = 1; x = [10, 20] x(i, 2) % Display second column of first (and only) row of a row vector. I'm not seeing the problem. It ...

8ヶ月 前 | 0

回答済み
Should I need keep in my PC previous versions of Matlab?
I have had to keep old version of MATLAB three times. The first two times it was because my camera drivers did not work with th...

8ヶ月 前 | 0

回答済み
Approach to computing statistics on a latitude/longitude grid
I'd probably convert the (lat, lon, speed) into a double matrix (image). Then I'd sum up all the matrices to get the overall av...

9ヶ月 前 | 1

回答済み
How to solve error 1616 for licence activation when old computer crashed and License Center doesn't show a deactivation tab?
On the web site, login to your account and look at your license(s). Click on the tools icon: You'll see this: Click "De...

9ヶ月 前 | 0

| 採用済み

回答済み
Removal of background mirror copies of objects .
The background is no good. In my experience, something like back paper or posterboard is still too reflective. Try a backgroun...

9ヶ月 前 | 0

回答済み
How to connect a Basler camera to MATLAB
Did you call videoinput()? You need to instantiate that before you will see any devices. Can you run the attached gentl demo p...

9ヶ月 前 | 0

回答済み
How to write a product of two numbers 6 and 7 in Matlab code to get 42
Did you try getting help on multiplication? For simple multiplication it's simply * like it is in every other language I've use...

9ヶ月 前 | 0

回答済み
How do I determine the required toolboxes and licenses for my MATLAB code?
Attached is a utility function I wrote. This is what's in it: % List required files and toolboxes. Displays them in the comma...

9ヶ月 前 | 1

回答済み
How to make GUI tool
Try MATLAB App Designer You're a man of very few words. Too few. Try this https://translate.google.com/?hl=en&tab=wT&sl=auto...

9ヶ月 前 | 0

回答済み
Trying to detect if a cartoon character is looking at the watcher
There is no built-in higher level functionality like that. Probably the best bet is to train a deep learning model, however tha...

9ヶ月 前 | 0

回答済み
MathWorks Licensing Error 5
Do what it says to do in the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation,_MATLAB_crashes_or_gives_an_error_messag...

9ヶ月 前 | 0

回答済み
MATLAB 2025a new fonts. How do I use them.
I have Windows 11 and am running r2024b. In my MATLAB Fonts drop down I see tons of fonts. They seem to be many, but not all o...

9ヶ月 前 | 0

回答済み
In Matlab 2025a, how do I hide a plot trace
If you want to show or hide plotted curves programmatically (say when a use checks or unchecks a checkbox on your GUI), you can ...

9ヶ月 前 | 0

回答済み
Looking to identify a football from an image
You can use transfer learning to identify footballs in a variety of images with a variety of colors, orientations, sizes, etc. ...

9ヶ月 前 | 0

回答済み
impossible to launch matlab 2025b
Try doing what it says in the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation,_MATLAB_crashes_or_gives_an_error_messa...

9ヶ月 前 | 0

回答済み
Matlab has all time problems.
Most people don't have the compiler, though I (and you) do. I compile stuff all the time without errors. Since you're having err...

10ヶ月 前 | 0

回答済み
why does set(gca) not working
I know you already accepted an answer but the more modern alternative (2022a and later) is to use fontsize: hFig = figure; cos...

10ヶ月 前 | 0

回答済み
Error using countOnes = sum(num); when trying to count how many zeros and ones are randomly generated.
This error message indicates that it thinks sum is an array in your program, so when you do countOnes = sum(num); where num ca...

10ヶ月 前 | 1

回答済み
Identify and refill dark spots on the leopard with neighboring pixels
That algorithm could be close but the problem is leopard spots are not closed. After you have a binary image use either bwconvh...

10ヶ月 前 | 0

回答済み
importing a table from a file with multiple tables
Try t = readtable('summary_tables_rev2.xlsx') If you have any more questions, then attach your workbook and code to read it in...

10ヶ月 前 | 1

さらに読み込む