Community Profile

Last seen: 3 månader ago Active since 2021

Content Feed

View by

Question

How to continue a count from the previous when calling each function? Attached photo explains further.
Refer to photo for further explanation. All other data are correct expect the first column (Time). Lines of code where I in...

1

How to fix Error using atan2 Inputs must be real?
When we move from previous point to next point, the coordinate equals to the previous coordinate plus the Delta, so we don't nee...

| accepted

Question

How to fix Error using atan2 Inputs must be real?
Function function ConcLin = Line(A,B) %% Linear Moving along desired path % **** Linear First Movement *** % Calling In...

1

How to concatenate data from two different functions in MATLAB?
How to concatenate data from two different functions in MATLAB? Functions: 1) % Before: % function AnglesLin1 = Line(nx, ny,...

| accepted

Question

How to concatenate data from two different functions in MATLAB?
Part of one function has this: %% Concatenating Time & Point to Point Angles. Time will be the first column ConcPTP1 = [TimeP2...

1

Question

Only the final iteration in the loop is saved. How to save all the iterations ? * Note: all are displayed, but not saved except the last *
Xstart = 100; Ystart = 0; Zstart = 10; Xend = 200; Yend = 0; Zend = 10; Resolution = 100; %% Equations DeltaX ...

1

Question

How to extract data from a function or functions. Also how to export this data to excel.
I have written two sets of codes. I placed them in two separate folders as program 1 and program 2. Now with the code calling ...

1

Question

Inside of a for loop. How to call another script lets say (IK.m) as Ik sub every time the loop goes to a new point?
%% Inside a for loop. How can I call another script lets say (IK.m) as Ik sub every time the loop goes to a new point? % I've ...

1

how to solve laplace transform problem in matlab
@Gerard Nagle I tried this code if it's any good and you can make it any better plesae let me know. %% Solving 2nd order ODE u...

ungefär ett år ago | 0

Question

Error using sym>convertChar (line 1537) when solving an ODE using laplace transform. How to fix the problem?
%%CODE %% Solving 2nd order ODE using laplace transform clc, clear , close all syms x t s X F F = laplace('diff(x(t),t,t)+...

ungefär ett år ago | 2 answers | 0