Answered
How this is possible? "atan(x) function problem"
What is the problem? https://en.wikipedia.org/wiki/Inverse_trigonometric_functions#arctan a = 1/0 a = Inf atan(a) ...

6 years ago | 2

Answered
converting Matlab plot example
trop =[0.2571;-0.9444;-1.3218;0.9248;0.0000;-0.0549;0.9111;0.5946;0.3502;1.2503;0.9298;0.2398;-0.6904;-0.6516;1.1921;-1.6118;-0....

6 years ago | 0

| accepted

Answered
how to measure angle and flame speed from Picture ..
Usually i would not open a new answer - but this question is weird, because i can not comment it for some technical reason. Howe...

6 years ago | 0

Answered
How to solve pendulum ode function?
https://de.mathworks.com/matlabcentral/answers/437764-ode45-i-get-wrong-results#answer_354579

6 years ago | 1

| accepted

Answered
Why is my fimplicit plot empty?
The warning means, that Matlab did not find an analytical solution - solve numeric: syms x(t) Dxt(t) ode = diff(x,t,2) + ((4.2...

6 years ago | 1

| accepted

Answered
DOUBLE cannot convert the input expression into a double array?
clc; clear; anglout = rad2deg(pi); true_value = cos(pi/3); h = pi/3-pi/4; n = 6; syms f(x) op(x) f(x) = cos(x); sol = z...

6 years ago | 0

| accepted

Answered
Matrix indexing in a function
It is a good idea to work with polyshape objects in this case: % Find intersected circles P = [0 0 1; 1 1.5 0.75; 2 1 0.5]; f...

6 years ago | 0

| accepted

Answered
Read time and numerical data from txt file and plot in matlab.
If you use R2019a or later, maybe this is interesting for you: https://de.mathworks.com/help/matlab/ref/readvars.html also, ...

6 years ago | 0

| accepted

Answered
creating a row vector
A(1:5) = 5

6 years ago | 0

Answered
how to measure angle and flame speed from Picture ..
I used this documentation example to build this code: % find lines I = imread("5t.JPG"); I1 = rgb2gray(I); I1 = imbinarize(I...

6 years ago | 1

| accepted

Answered
Optimization of model parameters
Since you have measured values and you have an equation you should use lsqcurvefit to estimate the parameters. You find examples...

6 years ago | 0

| accepted

Answered
how do I transfer my excel input data into a contour graph on Matlab
doc readmatrix doc contour

6 years ago | 0

Answered
Error: Array indices must be positive integers or logical values.
the expression kw((N+1)*dr^2) is the problem. I suspect a missing * or / - for example: kw*((N+1)*dr^2)

6 years ago | 0

| accepted

Answered
Sort does not work
Why? for me the indices are correct sorted. The smallest value is found at pos. 3 and the biggest value is found in pos. 4. What...

6 years ago | 1

| accepted

Answered
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
Try: varInput = load('quadData.mat'); qDat = varInput.quadrotor; [n,~] = size(qDat); Xi_0 = [qDat(1,2:4)'; qDat(1,8:10)']; ...

6 years ago | 0

| accepted

Answered
Probelm in implementing Adaptive Histogram Equalization
Follow the workflow shown here: https://de.mathworks.com/help/images/ref/adapthisteq.html#bvhtu1_-1

6 years ago | 1

Answered
base error problem in sending email for matlab
content = 'This function works for me on gmail - try it...' e_mail(content) function e_mail(Content) recipient = {'emai...

6 years ago | 0

Answered
The inconsistency of polyfit function
From the documentation: [p,S,mu] = polyfit(x,y,n) also returns mu, which is a two-element vector with centering and scaling val...

6 years ago | 0

Answered
Make Boxes on Surface in 3D Plot
A = rand(10,5,3); A = sum(A); A = squeeze(A); surf(A,'LineWidth',2)

6 years ago | 0

| accepted

Answered
Matlab and MacOS Catalina
https://de.mathworks.com/support/requirements/platform-road-map.html

6 years ago | 0

| accepted

Answered
https://www.mathworks.com/help/hdlfilter/hdl-butterworth-filter.html
Try the link from the documentation of R2017b: https://de.mathworks.com/help/releases/R2017b/hdlfilter/examples/hdl-butterworth...

6 years ago | 0

Answered
numerical solution of predator-prey model
Problem was here: dsdt=[dsdt_1;dsdt_2,dsdt_3]; it should be: dsdt=[dsdt_1;dsdt_2;dsdt_3]; Then it works. function signal ...

6 years ago | 0

| accepted

Answered
How can I solve a second order ODE backwards in simulink or matlab?
It is allowed to integrate backwards with ode45 just by declaring tspan backwards: tspan = [t1 0] Then your ending conditions ...

6 years ago | 1

| accepted

Answered
How to enter the following functions
you need to rewrite so that the given equations are equal to zero. Then |fzero| finds x. fun = @(x) something with x equal ...

6 years ago | 2

| accepted

Answered
How to plot absorption of sound waves in seawater and boric acid?
% Produce some data x = logspace(-1,2); y1 = exp(x); y2 = (exp(x)./exp(y1)); % Plot lo double log-scale loglog(x,y1,'--k'...

6 years ago | 0

| accepted

Answered
How do i write a polynomial and take the derivative?
>> T = [1 -1 -1 -1] T = 1 -1 -1 -1 >> dT = polyder(T) dT = 3 -2 -1

6 years ago | 0

| accepted

Answered
Generate Random Vector of n-elements
https://de.mathworks.com/help/matlab/ref/rand.html?s_tid=doc_ta#buiavoq-9

6 years ago | 0

| accepted

Answered
derivative at various points in symbolic math toolbox
A = [1 2 4 6]; syms x f(x) = x^2 sol = f(A) gives: f(x) = x^2 sol = [ 1, 4, 16, 36]

6 years ago | 1

| accepted

Answered
Getting started with machine learning
Matlab has an excellent documentation site including several examples for every Toolbox. Additionally there are a lot of webinar...

6 years ago | 0

Answered
Use "solution converged to an infeasible point" as an input
Use the output exitflag to find out if there was no feasible point: [x,fval,exitflag,output] = fmincon(@(X) obj_function(X,P,Pd...

6 years ago | 1

| accepted

Load more