Answered
Surface Area an Enclosed Curve on an Artificial Cone
See my post here try also delaunay

6 years ago | 0

Answered
how to get/extract x,y values from scatter function
Use handle h = scatter(..) get(h,'xdata')

6 years ago | 0

Answered
Response surface method in Matlab
Look here

6 years ago | 1

| accepted

Answered
Question about Integrating a 2D matrix that depends on 3 variables
I used numerical calculations kk = linspace(0,1,20); zz = linspace(0,10,20); rr = linspace(0,15,20); dk = kk(2)-kk(1); dz =...

6 years ago | 1

Answered
Solving system of equations
Here is algorithm i choosed: integrate 3 and 4 equations. Get 2 nonlinear equations having 6 nonlinear equations (red box) use...

6 years ago | 0

Answered
Coding a function to use the false position method to approximate roots
try matlabFunction str = input('enter a function:\n'); f = matlabFunction(str);

6 years ago | 0

Answered
solving a second spatial derivative using ode45
You difference scheme is wrong dudt = (c1*U(1))*(U(1)-a)*(1-U(1))-(c2*U(1)*U(2))+D*((U(1)-u0)/dx^2) Here is correct version ...

6 years ago | 0

Answered
Integrate inside ode45, every value of a a vector
no need of for loop if t<=1.5 x=(0:2.51326406981556e-05:2*pi)'; %limits for integration Y=(((r.*cos(x)-y(5))-r.*cos(x...

6 years ago | 0

| accepted

Answered
Differential equations of time with two parameters given as functions of time.
First of all: remember about array/vector operators (vectorization) Can't you just put Omega_C and Omega_F inside the funct...

6 years ago | 0

| accepted

Answered
Need surface area of fsurf between two planes
Here is what i did build all surfaces used SurfaceIntersection to get intersection curves (i converted surfaces into patches) ...

6 years ago | 1

Answered
workspace of a scara
Separate functions and your main script function main % you main script end function TransMat % your function end ...

6 years ago | 0

Answered
Help needed with finding an average delta value in my dataset
I'd just use sort for this purpose data1 = sort(data); highest = data(end-9:end)); lowest = data(1:10);

6 years ago | 0

| accepted

Answered
Animating lines and curves in matlab
I just created data for parabola and moved axis limits a = 2; b = 1; y = linspace(-3,5); x = a-(y-b).^2; y = [ y(1) y y(end...

6 years ago | 0

Answered
ode45 inside a nested loop
I want to show you a simple example of how ode45 works. I wrote simple solver like ode45 function main clc F = @(t,x) [x(2); ...

6 years ago | 2

| accepted

Answered
Want to vary initial condition in 2nd order ODE solver. Thought to use a loop, but running into complications with dsolve
I tried bvp4c. Didn't see (cond2 = DT(L) ==q_sh./(k*A_c)) %2nd order ODE solution to part b cla hold on cm = jet(10); for k...

6 years ago | 0

| accepted

Answered
surf plot 3d - matrix multiplication
You forgot about dot here (bit-wise operator) x= number1*sin(angle1).*sin(angle2); y= number2*cos(angle1); z= number3*sin(ang...

6 years ago | 0

Answered
griddata size and length mismatch error while they are the same length
Make yys1,zzs1,AAA the same size [Y,Z] = meshgrid(yys1,zzs1); AIT = griddata(Y,Z,AAA,XIT,ZIT,'natural');

6 years ago | 1

Answered
How can I interpolate with function interp2 with longitude and latitudes coordinates
Error using griddedInterpolant Interpolation requires at least two sample points in each dimension. Your X and Y matrix have o...

6 years ago | 0

| accepted

Answered
How do I create a dynamic temperature map of a metal plate
I used griddata clc,clear pos = xlsread('temptest-800c.xlsx','Position'); temp = xlsread('temptest-800c.xlsx','sheet1'); x...

6 years ago | 1

| accepted

Answered
how can i make my plot to stop at point and continue after this point?
Something like that i think x = linspace(xs,xg,20); y = linspace(ys,yg,20); y(10) = nan; plot(x,y) hold on plot(xunit,yuni...

6 years ago | 0

Answered
ODE45 issues (odearguements error)
Mistake

6 years ago | 0

| accepted

Answered
Solving Time-scale algebraic Lyapunov function in Matlab?
Here is what i found in MATLAB help Your equation Group 2 and 3 matrices Multiply all matrices by is ident...

6 years ago | 0

Answered
How to create a 3D plot and split the values inside?
Use logical operations id = vector > 2.5; plot3(x(ix),y(ix),z(ix),'.r') % plot only points where vector > 2.5

6 years ago | 0

| accepted

Answered
heatmap's range of colors is limited ?
Change clim property set(gca,'clim',[-0.8 1.5])

6 years ago | 0

Answered
Dimensions of arrays being concatenated are not consistent.
I have an idea. But only one

6 years ago | 0

Answered
How to make this 3D plot from parameterized function?
success? [r,s]=meshgrid(0:0.1:2); x=r./s; y=r.^2+log(s); z=2*r; surf(x,y,z) axis vis3d

6 years ago | 0

| accepted

Answered
how to calculate rise time fall time for this graph in generalized manner
I want to show you how succesfull i am please see attached script

6 years ago | 0

| accepted

Answered
How to tabulate charge densities over 3D rectangular grid points
Here is what i did See attached script

6 years ago | 0

| accepted

Answered
Using m script in matlab
What about strrep? old = 'AutoWakeUpBalncDlyT_T_Pt'; new = 'Rom_AutoWakeUpBalncDlyT_T_Pt'; fid = fopen('test1.txt','r'); str...

6 years ago | 0

| accepted

Answered
how to calculate the average of two values data that side by side and place it between those two values
Use interp1 A=[4 2 8 10 6]; x = 1:length(A); % 1 2 3 4 5 xx = linspace(x(1),x(end),length(A)*2...

6 years ago | 0

| accepted

Load more