Integral2 Error message
F = @(x,y) x./y + y./x q = integral2(F,1,2,1,4)

4 Monate ago | 0

| accepted

How do I indicate phase changes on my velocity versus time plot on MATLAB?
t = [1.85 2.87 3.78 4.65 5.5 6.32 7.14 7.96 8.79 9.69]; d = 10: 10 : 100; v = gradient(d) ./ gradient(t); figure(1) dvdt = g...

4 Monate ago | 0

Error with plotting a function
K = 10; r = .1; t = 0:1:100; solution1 = @(t,y) K .^ (1 - (exp(-t*r))); plot(t,(K.^(1 - (exp(t*r*-1)))), '-b');

4 Monate ago | 0

| accepted

Specify the y value where the graph should start
%Variabler A_sveip = 2.27; luft_tett = 1.225; %Virkningsgrad v_0k5 = [0:0.5:30.5]; P_0k5 = [0 0 0 0 0 20 30 50 70 95 120 ...

4 Monate ago | 0

| accepted

n乗根が小数で表されてしまうがn乗根のまま表記して欲しい
sqrt(sym(2)) sqrt(2)

4 Monate ago | 1

| accepted

Position of element in a row
Use second output of find() help find

4 Monate ago | 0

| accepted

Breaking equations down into parts while retaining output
atimesb = a * b; ctimesd = c * d; eqn = MyTotal == atimesb + ctimesd

4 Monate ago | 0

| accepted

Unrecognized function or variable
Following Steven’s answer would clear that error but you will have a following error, so change that part of your code to the fo...

4 Monate ago | 0

How do you name single output functions?
result = @(in) in.^2; result = result(1 : 10)

5 Monate ago | 0

Subtract rows and Save the outputs in a new column
Use readtable(), diff() and finally writetable().

5 Monate ago | 0

Display symbolic expressions as rational.
syms x sympref('FloatingPointOutput',true); (1/2)*(3*x^2) sympref('FloatingPointOutput',false); (1/2)*(3*x^2)

5 Monate ago | 0

| accepted

getting an equation from multiple variables
MAtrix = [3, 6, 1, 3, 8; 3, 6, 1, 3, 9]; syms x y z w Out Out * MAtrix(:, 1) == (MAtrix(:, 2 : end) * [x, y, z, w].') % someth...

5 Monate ago | 0

グラフの目盛りを片方だけ非表示にする方法
set(gca, 'Ytick', 'none')

5 Monate ago | 0

| accepted

SS2TF Error
State space representation should be with numerical values and it cnnot contain symbolic values.

5 Monate ago | 0

Using a loop to calculate max values
You were almost close. plot(max(temp.temp, [], 2))

5 Monate ago | 0

Using data from a table in matlab script
https://www.mathworks.com/help/matlab/matlab_prog/access-data-in-a-table.html

5 Monate ago | 0

How to make vector array value zero after certain index?
Matrix(556 : end, 1 : 2) = 0 % size 1001 X 4

5 Monate ago | 0

Converting txt file with words into equal-sized matrices
P.S: The word numbers was at the 21st column so that part was automatically excluded since you were interested in 19 columns onl...

5 Monate ago | 0

| accepted

Recording variables that satisfy a condition
X = linspace(0,1,100); Y = linspace(0,1,100); Z = linspace(0,1,100); [XX, YY, ZZ] = meshgrid(X, Y, Z); XYZ = XX + YY + ZZ; ...

5 Monate ago | 0

| accepted

Convert cell of matrix into one matrix
B = cat(1, A{:})

5 Monate ago | 0

| accepted

Centering Matrix Culumn Data
ii = 33 x = randi([0, 1], 4) * ii % they are automatically centered xD

5 Monate ago | 0

| accepted

plot not displaying figure
shg % at the end perhaps?

5 Monate ago | 1

| accepted

Why can't I calculate the definite integral?
h_min=0.5; h_max=1.16; pom_lc=1.21; syms t f = 1-exp(t/pom_lc) F = vpaintegral(f, t, [h_min h_max]) % double(), vpa() will ...

5 Monate ago | 0

Evaluation of Integration without Loops
help trapz

5 Monate ago | 0

How to produce line plot yline for matlab R2018a
Start = 0; % sorry I completely misinterpreted the question xD End = 1; Point = 260; plot(linspace(Start, End, 1e2), repelem(...

6 Monate ago | 0

| accepted

How to produce line plot yline for matlab R2018a
Funny thing , i did a file exchange a while ago for passing time, not the efficient one but gets the job done ;) https://www.ma...

6 Monate ago | 0