A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 2

Réponse apportée
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...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 2 ans il y a | 0

Réponse apportée
~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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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, ...

plus de 2 ans il y a | 1

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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....

plus de 2 ans il y a | 0