Question

How to use loop to reduce the code?

clc clear syms t sigma r = -4; w = 2; a = 1; b = 1; W = 1; A_sin = 1; A_sigma = [0,1; -w^2,-a*((A_sin*si...

7 months ago | 1 answer | 0

Question

How to plot x-y and x respect to t and y respect to t diagram with ODE ?

Hi all, I was trying to plot these 2 equation on X-Y and X-t and Y-t diagram. Could anyone please show me how to do it? T...

7 months ago | 1 answer | 0

Question

How to plot a 2nd derivative equation

Hi all, for equation like this How to plot the graph with x(t) in y axis and t in x axis? the code I use is this syms...

7 months ago | 0 answers | 0

Question

How to Plot a second derivative equation?

Hi all, The equation I want to plot is I've tried to gether information online and come up with the code: clc clear ...

7 months ago | 1 answer | 0

Question

Calculate function with given t

clc clear all close all syms t A = [-1, 1, 0; 1,-2, 1; 0, 1, -1]; [P,D] = eig(A) Phi = P*expm(D*t)*inv(P) t...

8 months ago | 1 answer | 0

Question

Use imwrite to save processed images to different folder.

Dear all, I need help with saving processed images to different folder with imwrite. Currently, I can save all processed image...

8 months ago | 1 answer | 0

Question

naming file with count

FileName = fullfile('C:\Users\User\Desktop\1cm circle cropped 0.27',sprintf('circle_cropped_%d.jpg',count)); The code I use wou...

9 months ago | 1 answer | 0

Question

Use mask to crop circle images from a picture with Matlab

The code I use here is perfect for cropping circle images from my '294.jpg' image The cropping order is from top left to bottom...

9 months ago | 1 answer | 0

Question

crop a circle in images and have "Integers can only be combined with integers of the same class, or scalar doubles." problem I can't solve...

I want to crop circles in a image. With the code below, I encounter an Error : "Integers can only be combined with integers of t...

1 year ago | 0 answers | 0