Answered
How to print status
function m = margin_of_safety(F,sigma); m = F - sigma; s = ["success", "failure", "success", "success"]; TablE = [F;sig...

6 years ago | 0

Answered
How to download Control Systems (or better) Toolbox?
Use MATLAB Online for instantaneous solution, else click Adds On in the MATLAB application and download Control Systems Toolbox....

6 years ago | 23

| accepted

Answered
I am trying to plot a theoretical function, but keep getting a parse error when I try to divide by an element of my x vector
Remove the dot next to the third x , and replace all the * ^ / with .* .^ ./ also remove the loop. If you want precise help past...

6 years ago | 0

| accepted

Answered
licence number for Online Matlab
Voluteers here don't answer those type of questions. You need to contact MathWorks Support Team by pressing the Contact Us butto...

6 years ago | 1

| accepted

Answered
How to apply latex \bar to multiple characters?
\overline{A+B}

6 years ago | 0

| accepted

Answered
Increase counter for each element in array
ix = A(:) == unique(A); B = nonzeros(cumsum(ix) .* ix)

6 years ago | 2

| accepted

Answered
readmatrix is truncating and moving decimal
format longg % at the beginning

6 years ago | 1

| accepted

Answered
Add numbers into legend with for loop
legend(sprintf('cos(%d*xr)',i))

6 years ago | 1

Answered
Variable Substitution Using Symbolic Functions
Use formula()

6 years ago | 0

| accepted

Answered
How do I record the location of a specific value in a set of data?
First_1 = find(x,1) % where x is your row in the loop Distance = diff(find(x,2))

6 years ago | 1

| accepted

Answered
How to plot y(x)=exp(-x)*sin(2x) on MATLAB
doc fplot

6 years ago | 1

Answered
Find one Max-value from 2 columns from matrix
out = max(reshape(M(:,2:2:4),1,[]) % >= 2018b out = max(M(:,2:2:4), [], 'all')

6 years ago | 0

| accepted

Answered
How to select numbers in a cell array?
T = arrayfun(@(x) newCell{x}(1,1) > newCell{x}(2,1),... 1:numel(newCell))

6 years ago | 0

Answered
If else if loop
function Spring_Force = fcn(displacement) Spring_Force = (0 <= displacement <= 15) .* 10*displacement + ... (...

6 years ago | 0

Answered
rhs method returning empty sym
Possible reason is that you may have created a variable/file named *rhs* , please clear it.

6 years ago | 1

| accepted

Answered
find the multiple max values
MaX = maxk(matrix(:), 3); Wanted = ismember(matrix, MaX) .* matrix % for older versions m = sort(matrix(:),'descend...

6 years ago | 2

| accepted

Answered
how to draw two y axis?
doc yyaxis

6 years ago | 0

Answered
Undefined variable "numel" or class "numel"
numel(subset)

6 years ago | 0

| accepted

Answered
writematrix for multiple csv files
<https://www.mathworks.com/help/matlab/import_export/process-a-sequence-of-files.html>

6 years ago | 0

| accepted

Answered
Help understanding interp2?
V(X,Y) -> function Xq & Yq are query points query points -> what would be the functions value at these points.

6 years ago | 0

Answered
How to interprete output of solve function ?
syms x double(solve ( x^2-(1+x)^2 + x^2*(1+x)^2 , 'MaxDegree', 4))

6 years ago | 0

| accepted

Answered
Read column 1 to column 7
doc readtable % and post process the required datas

6 years ago | 0

Answered
C++ to MATLAB: for loops
for offx = 0:1 % simplicity of MATLAB ... end

6 years ago | 0

| accepted

Load more