Respondida
Data type of UIAxes change in R2022a?
I'm not certain offhand but I suspect that's a consequence of the changes made in release R2020b.

más de 4 años hace | 0

| aceptada

Respondida
which my mistake erro
I suspect that you want those last two lines to be: [Efmax,Iter]= max(Ef); I2me=I2(Iter); in order to set I2me to the value o...

más de 4 años hace | 1

Respondida
what versions of matlab can work with the ROS toolbox
According to the second page of the Robotics System Toolbox User's Guide PDF file, version 1.0 of this toolbox was released as p...

más de 4 años hace | 0

Respondida
How do I view the properties of an abstract class?
Call the properties function with the name of the Abstract class as input. >> properties AbstractClassDemo Properties for clas...

más de 4 años hace | 0

| aceptada

Respondida
Patenting a Matlab script
You're unlikely to get a definitive answer to a legal question, especially a very broad one like this one, here on MATLAB Answer...

más de 4 años hace | 2

| aceptada

Respondida
Output argument "name of variable" (and possibly others) not assigned a value in the execution with "function name" function. Can someone explain what this means?
Another common cause of this error is that the function contains at least one code path on which the output variable is defined ...

más de 4 años hace | 0

| aceptada

Respondida
using Repmat function , obtain repeated specific values
Use repelem. a = [1 2 3 4] b = a.^2 c = repelem(b, a)

más de 4 años hace | 0

| aceptada

Respondida
What is this statistical chart called? Is there a corresponding MATLAB command? Thank you
Looking on the Plots tab of the Toolstrip and scrolling down to the Statistics and Machine Learning Toolbox Plots section (assum...

más de 4 años hace | 0

| aceptada

Respondida
Get datenum to return missing instead of throwing an error
As @Cris LaPierre said, we recommend using datetime instead of datenum. Let's create some example data. t = string(datetime('to...

más de 4 años hace | 1

Respondida
Why is the function 'oldInlierLocation' undefined?
You made at least one mistake copying the code from around 4:10 in that video. Your code: if(nnz(isValid>=2)) The video's cod...

más de 4 años hace | 1

| aceptada

Respondida
Is it not possible to create a web app using matlab 2018 b?
According to the Release Notes Web App Compiler was introduced in MATLAB Compiler in release R2018a.

más de 4 años hace | 0

Respondida
Some button in standalone app not working after being compiled (although code working well)
I believe if you launch the application from a system command prompt (Command Prompt on Windows, for example) rather than double...

más de 4 años hace | 0

| aceptada

Respondida
I don't have acces to the Model Based Systems Engineering for Space-Based Applications template
I don't really understand since I have all modules and latest versions of matlab. Are you certain? Let's check. Run the followi...

más de 4 años hace | 0

Respondida
How to find x values from y value in "fit" function?
Set up a sample polynomial fit. x = randn(10, 1); y = (x-1).*(x+1); % polynomial is y = x^2-1 = (x-1)*(x+1) p = fit(x, y, 'po...

más de 4 años hace | 0

Respondida
Plotting phase space for 2nd order nonlinear ODE
See this Answers post for an example that sounds like what you want to do.

más de 4 años hace | 0

Respondida
How do you make it so that the simplify function displays the correct answer?
syms s simplify((s+30)*(s^2-20*s+200)) expand((s+30)*(s^2-20*s+200))

más de 4 años hace | 1

Respondida
Plot all polyshapes in cell array
If you've already created them in a cell array you can simply turn that cell array into an array of polyshape objects and plot t...

más de 4 años hace | 0

Respondida
Append indices to vector from container map
Like Walter suggested I'd use a digraph for this sort of operation. You can build a digraph from your containers.Map object. Let...

más de 4 años hace | 1

Respondida
Problem Creating Structure Field with For Loop
Do you want the names of the fields in the struct array to be file_name_ followed by a number (file_name_1, file_name_2, etc.)? ...

más de 4 años hace | 0

Respondida
adding search path before classdef of derived class
Your class myBase written in the file base.m is not known to MATLAB as myBase. When the name of the class or main function in a ...

más de 4 años hace | 0

| aceptada

Respondida
Not able to assign a value to a member of class in MATLAB
Your class is a value class rather than a handle class. This documentation page discusses the differences between the two. You'...

más de 4 años hace | 1

| aceptada

Respondida
Error massage "Execution of script project2 as a function is not supported"
The first input to the VideoWriter function must be the name of the video file you want to write. This could be a hard-coded cha...

más de 4 años hace | 0

Respondida
Test to see if a certain message was displayed in the command window
Rather than having the function simply display the error messages I would recommend the function actually throws an error using ...

más de 4 años hace | 0

Respondida
Error with pinv in MATLAB r2018a
Searching in the Bug Reports for "svd" in release R2018a found two that look potentially relevant. Bug Report 1768487 is listed...

más de 4 años hace | 0

| aceptada

Respondida
Remove programmatically added checkboxes and replace them with new checkboxes
Are you sure you want to use an unknown number of checkboxes? If there are a large number of files perhaps a CheckBoxTree (uitre...

más de 4 años hace | 1

Respondida
In this code, why did they choose the numbers that they chose?
That doesn't look like a MathWorks example so you might need to ask the author or the person from whom you obtained it, but if I...

más de 4 años hace | 1

Respondida
length(data.(ChannelFirst)) this worked for years, now it won't work WHY?
Set an error breakpoint and run your code. When MATLAB stops on that line, show us the output of the following command: whos da...

más de 4 años hace | 0

Respondida
Why 2020b is not including toolbox functions to the exe file, even though I have license?
Are you trying to use functionality that is not supported for use with MATLAB Compiler in your application? Which specific func...

más de 4 años hace | 0

Respondida
Chaning Background color of disabled text area
Are you developing this using App Designer, GUIDE, or programmatically? If App Designer, do you want to use a uitextarea instea...

más de 4 años hace | 0

Respondida
Can someone explain why in this code f3 and f2 are equal to (1048576,2)?
The zeros function creates an array of the specified size where every element is 0. A = zeros(3, 4) % a 3-by-4 array where all ...

más de 4 años hace | 1

Cargar más