Answered
Transformation of a MATLAB Function.
f_xw = @(x,w) [3.*x(1) - x(1).^2/7 + w(1); -2.*x(2) + w(2)]; f_etaw = @(eta,w) [3.*(c1+G1*eta) - (c1+G1*eta).^...

5 years ago | 0

| accepted

Answered
CodeOcean - how do I install Toolboxes from .tar files
Note that the URL of the page states "user provided". I'm not certain but I don't know if that process applies to MathWorks tool...

5 years ago | 0

| accepted

Answered
Spooky behavior with anonymous functions
See the "Variables in the Expression" section on this documentation page. If you want to see what information an anonymous func...

5 years ago | 2

| accepted

Answered
Addition of 2 matrices with different dimensions
If we want to add 2 matrices in maths, their dimensions must be the same. I believe most texts accept a slight generalization o...

5 years ago | 0

Answered
Continuous execution of vertical line for set of data
It's not clear to me exactly what type of graphic you're trying to plot, but I think the stem and xline functions may be of use ...

5 years ago | 0

Answered
Dependent property for subclasses
You are only allowed to define a property accessor method for a property if the class in which the method is defined also defin...

5 years ago | 0

Answered
Permission for publication of figures produced by MATLAB
I recommend you review the software license agreement (available inside MATLAB using the Terms of Use menu item under the Help i...

5 years ago | 0

Answered
create a vector of repeated different values and different repetitions
Take a look at the repelem function.

5 years ago | 0

| accepted

Answered
Numerical Integration of symbolic expression
You can't integrate an expression numerically and have the result contain symbolic expressions. You could try dsolve but you may...

5 years ago | 1

| accepted

Answered
Unit Testing Stateflow Models
If you know how to programmatically interface with the charts and how to execute them but cannot use the Simulink Test product, ...

5 years ago | 0

Answered
MatLab Not Working the right way .
When you start MATLAB with the -nojvm option, MATLAB starts without the normal desktop using this alternate UI. But you said tha...

5 years ago | 1

| accepted

Answered
How to replace values of a vector based on the values of another vector?
Take a look at the histcounts2 function. From your description what I think what you want are the 4th and 5th outputs.

5 years ago | 1

| accepted

Answered
different outcome cellfun(@isempty,..) vs cellfun('isempty',...)
I recommend you avoid using the 'isempty' syntax in new code. It is present for backwards compatibility with (very) old code and...

5 years ago | 1

Answered
Higher precision in MATLAB App Designer
How far do you expect your users to want to zoom in? What do you expect typical limits of the region of interest to be? If it fa...

5 years ago | 0

Answered
double integral with parameters
Matrices that small don't give you a lot of data to compute the value of your integrand function over an infinitely large region...

5 years ago | 1

Answered
translating this polygon to a new position
I don't know what your plot_polygon function does, but I'd probably create a polyshape object and translate it before plotting t...

5 years ago | 1

| accepted

Answered
No Line in my plot its just dots
Star Strider's approach is the one I'd probably use if all I cared about what that the line was plotted, not necessarily when it...

5 years ago | 0

Answered
Wrong integration trigonometric function
syms x f=sin(x)+2*cos(x) F=int(f) F2=int(sin(x))+int(2*cos(x)) You have different results but that doesn't necessarily mean ...

5 years ago | 0

| accepted

Answered
double numerical integral with variables in its upper and lower limits
Use the integral2 function.

5 years ago | 0

Answered
How to map points in Vector A with points in vector B?
So you want something like this? v = randperm(10) % Shuffle the numbers from 1 to 10 A = v(1:5) % Cut the "deck" B = v(6:10) ...

5 years ago | 1

| accepted

Answered
How to sortrows by specific strings
desired_order = {'President','Vice President','Member','Guest'}; Position = {'Vice President';'Guest';'Member';'President'}; N...

5 years ago | 0

| accepted

Answered
Create a table inside a structure
This is not the correct way to create a table array with the specified variable names. The struct function accepts field names a...

5 years ago | 1

| accepted

Answered
Higher precision in MATLAB App Designer
The format function does not "increase the precision" of calculations. All it does is change how the values are displayed in the...

5 years ago | 0

Answered
Error entering variables as strings
try 'no' == 'all' catch ME disp(ME.message) end 'no' is a char row vector with two elements. 'all' is a char row ve...

5 years ago | 1

| accepted

Answered
Concatenate a string array and a table of different dimensions
I'd probably store that information in the Description property of the table. T = array2table(magic(4)); T.Properties.Descript...

5 years ago | 0

Answered
not getting a plot why? plz help
sigma=0.047193; V_tip=180; W=180; Cd_avg=0.01; R=2.235; k=1.1; A=pi*R.^2; P_e= 61147.4; h=0:100...

5 years ago | 0

Answered
Why is unique() giving me the matrix after eliminating the common rows for these two matrices?
If you're trying to find unique rows, two rows that display the same may not contain the same stored values. A = [1 2; 1+eps 2]...

5 years ago | 0

Answered
use vpasolve's engine without vpasolve
If you're trying to find a solution of F, neither fminsearch nor fmincon would be my first choices for functions to use. If F re...

5 years ago | 0

| accepted

Answered
REGARDING THE INVOICE OF MATLAB
Please contact Customer Service using the Contact Support link on the Support section of this website.

5 years ago | 0

Load more