Answered
cannot find the funcion "generateTargets"
You can open this example in MATLAB using the following code openExample('deeplearning_shared/ObjectDetectionUsingYOLOV3DeepLea...

5 years ago | 1

| accepted

Answered
Multiplying anonymous function by a vector
You have defined your function to have an input - th. Therefore, when you use your function handle, you have to supply it an inp...

5 years ago | 0

| accepted

Answered
For loop with variable
Ch 13 of MATLAB Onramp covers for loops.

5 years ago | 1

Answered
How can I use ginput through app designer in MATLAB R2021a?
The issue is that, by default, your app's uifigure handle visibility is set to off. Since ginput can't see a figure, it creates ...

5 years ago | 0

| accepted

Answered
Brace indexing is not supported for variables of this type.
This is where you are using brace indexing headers{1} Try using parentheses instead headers(1)

5 years ago | 0

Answered
Problem with using readtable:
I would take a different approach. I would use readlines and string manipulation to create the table. str = readlines("vocab.tx...

5 years ago | 0

Answered
Reading Multiple Editable Text Boxes without App Designer
You need a handle to each object so that you can access its properties. Consider reviewing the examples on the uieditfield docu...

5 years ago | 0

| accepted

Answered
Heat map with three variables x,y and third one as color
My observation is that you either have the range of y wrong (all values are 10), or you meant to use the variable 'Squish' inste...

5 years ago | 0

| accepted

Answered
App Designer 2021a - Plotting inside the GUI instead of a figure window
You need to specify the uiaxes to plot into in an app. Otherwise, your plot command will create a new figure window for the plot...

5 years ago | 1

| accepted

Answered
Matlab app designer component properties window
What do you see? There is a chance you collapsed it. If you see something like what is shown in the image below, double click ...

5 years ago | 0

Answered
Plotting symbolic equation in matlab
Try creating your symbolic equation using the approach shown in the examples here. syms eq(x) eq(x) = (sin(sqrt(x)+5)*exp(sqrt...

5 years ago | 0

| accepted

Answered
wrong matrix - provides 3x3 instead of 3x1
Follow the dimensions of your variables to track it down. Q_bar{k} is 3x3 Q_bar{k} = inv(T).*Q.*T where Q and T are 3x3 shear...

5 years ago | 0

Answered
how to plot polyfit same plot as scatter
Look at some of the examples on the polyval documentation page. Polyfit just returns the coefficient values. If you want to plo...

5 years ago | 0

Answered
[Beginner] Constructing a rectangle object and detecting points inside
Independently, I'd suggest the rectangle and inpolygon functions. However, to find the points inside the rectangle, I'd use patc...

5 years ago | 1

| accepted

Answered
In table, how to select values in one column based on values in another column?
The simplest way to do this is using logical indexing, but that doesn't preserve the order. That makes it a more challenging pro...

5 years ago | 0

| accepted

Answered
Selecting part of data that satisfies a criterion
You seem to be taking the correct approach. Perhaps the most helpful thing to point out is this page on how to access data in a ...

5 years ago | 0

| accepted

Answered
Algorithm that identifies the number of time steps in which a matrix has certain values?
If you use a live script, you also can develop your own algorithm to find the points you want interactively using the Find Local...

5 years ago | 0

Answered
Marker color on web browser matlab
Have you looked at the Color section of the wmmarker documentation page? Color must use the convention explained on the Colorsp...

5 years ago | 1

| accepted

Answered
Help!: int(expr,var) function returns the int(expr,var) function
That likely means it couldn't solve that one. Consider using one of the techniques mentioned in these two examples. Unevaluate...

5 years ago | 0

| accepted

Answered
How to make lines plotted as dots for discontinuous data more visible in legend?
As I'm sure you are aware, a legend matches the formatspec of the corresponding line object. Since you plot without a line, your...

5 years ago | 2

Answered
Index exceeds the number of array elements(3)
We can't run your code. We need your closetozeroroundoff function. However, the error message isn't about whether or not there ...

5 years ago | 0

Answered
Unrecognized function or variable 'visadevlist'.
These functions are part of the Instrument Control Toolbox. You need to have that toolbox installed in order to use these functi...

5 years ago | 0

| accepted

Answered
How to access output variables from a m.file in another?
If the variables exist in your workspace, you can use them in any script. Consider having one script that organizes your data ...

5 years ago | 0

| accepted

Answered
Where is the problem with this code?
Inspect your response variable. It apparently has the wrong data type. If you don't yet know how to create categorical data, se...

5 years ago | 0

Answered
Solving a first order differential equation
See this example. I've copied/modified the relevant parts below. syms y(t) Dy = diff(y,t); cond = Dy(2)==3; ySol(t) = dsolve...

5 years ago | 1

| accepted

Answered
Correction of misspelled words in data source
If you are using extractAfter, your data must be text. If so, have you tried using the replace function? data = ["Signal1: 5, S...

5 years ago | 0

Answered
How to read text header data from a csv file along with numerical data
Use readtable with VariableNamingRule set to true. Then extract the data you need from the table. T = readtable('test.csv',"Var...

5 years ago | 0

Answered
STILL confused on Solver (tried a different approach) NOT SPAM
Assuming x is symbolic %feed composition z1=.5; z2=.1; z3=.15; z4=.25; %other given data F=150; PD=250; T=10; sy...

5 years ago | 0

| accepted

Answered
How do I plot one legend item for multiple plots?
One approach I can think of is to check even/odd before you plot, and use line objects to control what is placed in the legend. ...

5 years ago | 1

| accepted

Answered
error at for loop end (courseera course ref. solution- fixed points Lorentz equations)
I wonder if the variable b defined in the first line is supposed to be beta. However, changing that just led to a new error. If...

5 years ago | 0

Load more