Réponse apportée
App Designer: plot on Axes out of function
In App Designer, those are uiaxes. In the plot function, you can specify axes to plot to plot(Axes, 1, 1, 'kd')

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Maximization of Profit with non-equality constraint
Change this, but check your equations, since value of operator_profit is 10e304. nonlcon = @(x)confun(x, demand, theta, tao_p,...

plus de 5 ans il y a | 0

Réponse apportée
how to add coustum "Titlle" option for "UIaxes" via "Edit Field(Text)" in app Designer...means end user could enter and change the "Title" for different occasions and plots
Write this in your Edit field value changed callback ax1.Title.String = app.TitleEditField.Value; % Where ax1 handle of your ...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Optimization of parameter in Matlab ?
I assume that you have no analytic expressions that relate your admittance curve with your parameters. Well, first of all, you ...

plus de 5 ans il y a | 0

Réponse apportée
Why do I get the "Array indices must be positive integers or logical values" error?
% i = 0:0.01:1 % 101 element i = 1 : 1 : 101 % 101 element You should index arrays/variables with integers.

plus de 5 ans il y a | 0

Réponse apportée
Use subscript and superscript in legend
See legend properties https://uk.mathworks.com/help/matlab/ref/matlab.graphics.illustration.legend-properties.html Under Label...

plus de 5 ans il y a | 1

Réponse apportée
Remove empty rows from cell array
To replace string fields idx = cellfun(@isstring, A); A(idx) = {0}; After this, you can use A = cell2mat(A)

plus de 5 ans il y a | 0

| A accepté

A résolu


Natural numbers in string form
Create a cell array of strings containing the first n natural numbers. _Slightly_ harder than it seems like it should be. Ex...

plus de 5 ans il y a

Réponse apportée
How can I display @gaplotpareto output in UIAxes within app designer?
Don't pass app handles to the OutputFcn as weird interactions happen when you want to run save or exportapp, it makes overall th...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Show mouse position in another subplot
Here's something to get you started, this code does the following: These two callbacks obtains the X and Y coordinates, twice -...

plus de 5 ans il y a | 0

Réponse apportée
Remove rows in a matrix not having same element
This should work Loc = ismember(A, 2) idx = any(Loc,2) B = A(idx, :)

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
test uialert with App Testing Framework
I don't think it's possible to get handle of uialert function (I tried doing it briefly, but without succeeding), you should try...

plus de 5 ans il y a | 0

A résolu


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

plus de 5 ans il y a

A résolu


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

plus de 5 ans il y a

Réponse apportée
How can I export variales from double and structure with different rows into excel?
These have to have same number of rows, which they don't, according to your first sentence. AbdAngleMax,AbdAngleMin,AbdAngleCha...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
How do I iterate through many .txt files and ignore part of the name?
You can use dir function. Dir_files = dir('*4y.*txt'); % wildcard, add as many chars as necessary to get needed files List_Fil...

plus de 5 ans il y a | 0

| A accepté

A résolu


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

plus de 5 ans il y a

A résolu


Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

plus de 5 ans il y a

A résolu


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

plus de 5 ans il y a

A résolu


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

plus de 5 ans il y a

A résolu


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

plus de 5 ans il y a

A résolu


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. <http://en.wikipedia.org/wiki/Whole...

plus de 5 ans il y a

A résolu


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

plus de 5 ans il y a

A résolu


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

plus de 5 ans il y a

A résolu


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

plus de 5 ans il y a

A résolu


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

plus de 5 ans il y a

Réponse apportée
In App designer how to plot multiple plot on a same figure if one variable value coming from a function and also its value changes with output of function?
On the UIAxes, check the right hand side, Multiple plots - Next Plot - Add. If this doesn't work then write more on this: proble...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Lock figure axes/position
Here is a question with two answers that will help. This is the option rotateInteraction.

plus de 5 ans il y a | 0

Réponse apportée
I am facing a problem in saving values from table to .mat file in app designer.
Error is in callback UITableCellEdit, because, these are two different nodes and in each tree, there is always one active. So, i...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Adding legend for subplot when none of the subplots include all legend entries
Legend command is in the loop, therefore it is generated for each subplot. If you want to have it on particular month, you can p...

plus de 5 ans il y a | 0

Charger plus