Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

2 years ago

Solved


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

2 years ago

Answered
Problem with selecting location in appdesigner
I am able to replicate this issue and tried looking for ways to make it work. As a simple workaround, you can change the focus t...

2 years ago | 0

Answered
Change value of parameters in simulink over time
You can use a 'clock' and model your u,v signals as functions of the simulation time. For modeling complex and bulky math functi...

2 years ago | 2

Answered
OCR returns slightly different results on different machines
GPUs and CPUs can handle floating-point operations differently due to their distinct hardware architectures, potentially leading...

2 years ago | 1

| accepted

Answered
How to make game snake running after answer question in matlab app designer
Your 'break' statements are outside the blocks for wrong answer. The loop would break on any answer, whether its correct or wron...

2 years ago | 1

Answered
How best to convert a (lat,long) network into a "line diagram" in MATLAB?
If you only need an unscaled version of your graph, it is simply possible to plot the graph in MATLAB with unweighted edges, and...

2 years ago | 0

Answered
Control display state of Tabs in a second app with UI?
Create Multiwindow Apps in App Designer This article covers well on how you can share data b/w multiwindow apps that can run to...

2 years ago | 0

Answered
isSelfIntersecting function gives apparently incorrect result
Hi Ed, No, you have defined the mesh correctly and are using isSelfIntersection just fine. This is likely due to floating poi...

2 years ago | 0

| accepted

Solved


Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

2 years ago

Solved


It dseon't mettar waht oedrr the lrettes in a wrod are.
An internet meme from 2003 (read more here) asserted that readers are relatively insensitive to letter order in words, so long a...

2 years ago

Solved


Remove the small words from a list of words.
Your job is to tidy up a list of words that appear in a string. The words are separated by one or more spaces. Remove all words ...

2 years ago

Solved


What is the next step in Conway's Life?
Given a matrix A that represents the state of Conway's game of Life at one instant (time t=n), return the matrix B that represen...

2 years ago

Answered
Extract data from fig file and redraw the plot
Hi, this will extract the data of the 4 lines from the .fig file and store them in XData and YData. The code should be self expl...

2 years ago | 0

| accepted

Answered
Increase the number of elements inside a cell
You can simply add empty columns in a loop. Given out and parameter are defined (out can be a cell of any shape, need not be ...

2 years ago | 0

Answered
~exist(xxx) in IF condition not working
exist documentation: link According to the documentation, exist can have 8 return values. It not only checks for variables in...

2 years ago | 0

Answered
Updating legend for a plot with markers and errorbar
If I understand correctly, this is the output that you desire. Here's how you can plot the fixed legend for your data. Hope t...

2 years ago | 0

Answered
audio wave filter out bandpass 900-1kHz
You can read your audio file using the audioread function: [y, Fs] = audioread('audiofile.wav'); More info: audioread To fi...

2 years ago | 0

Answered
Can someone give me a simple example about how to use the uibutton 'state' property?
You can use a simple "PushButton" or "ToggleButton". Here's an example of how to do this with a ToggleButton in MATLAB: First, ...

2 years ago | 1

Answered
How do you temporarily disable Fast Restart in Reinforcement Learning.
Here's how you can disable fast restart: set_param('modelname', 'FastRestart', 'off'); Here, replace 'modelname' with the actu...

2 years ago | 0

| accepted

Answered
Database username and password problem
Hi. There could be a few reasons for this behavior: The Default User Account Control (UAC) Settings could be causing the issue....

2 years ago | 0