Answered
Series summation issue - conversion to double error
At some point, Matlab gives up & returns the indefinite summation. You can try this: clc;clear syms m tc = 3; ...

6 years ago | 0

| accepted

Answered
Plot points in a different colour depending on co ordinates
Maybe this will help as an example: clc;clear x = rand(1000,1); y = rand(1000,1); yg = y; yg(hypot(x-.5,y-.5)<....

6 years ago | 0

Answered
How to select point or lines on the graph
You can try this: clc;clear;close all x = rand(100,2); plot(x(:,1),x(:,2), 'b.') xlim([-.25,1.25]) ...

6 years ago | 0

Answered
Simplest way to add a legend to the groups of a scatter plot
gscatter(M(:),sort(M(:)),C) <<http://snag.gy/fYRHh.jpg>>

7 years ago | 1

| accepted

Answered
Quadrilateral mesh for a given set of 2d points
doc voronoi

7 years ago | 0

Answered
Create sparse matrix with zig-zag diagonal
s = spdiags(A',[0,-1],c*(n-1),c);

7 years ago | 0

Answered
How to define a cumulative distribution function with variable in it
f = @(x) normcdf(x,mu,sigma);

7 years ago | 0

| accepted

Answered
Error with ’quad‘!!!Doubleintegral?
how about this L = 3.128438e+003; B= 16685; X = 2.085625e+003; Y = 0; Z = 0; Quad_1 = @(Zeta,Xi) exp(-sqrt(X...

7 years ago | 0

Answered
solving a differential equation
Using dsolve is pretty straightforward, I'll give the 1st and last terms: dsolve('2*D2y ... = ... +2*exp(-t)') you'll h...

7 years ago | 0

Answered
Using solve to solve an equation
syms x1 x2 y1 y2 d >> solve((x2-x1)^2+(y2-y1)^2-d,x2) ans = x1 - (- y1^2 + 2*y1*y2 - y2^2 + d)^(1/2) ...

7 years ago | 0

Answered
How to plot Stress distribution as polar plot - not typical polar
I think you mean that the polar plot converges to a point and does not represent the hole in the plate. Take a look a Teja's an...

7 years ago | 0

Answered
How to see resampled data after BOOTSTRAP in Matlab
For your first question, you can recover the bootstrap samples by: lead(bootsam) depth(bootsam)

7 years ago | 0

| accepted

Answered
Multiple Character MuPad Subscripts?
try (in MuPad notebook) t[hot] -t[cold]

7 years ago | 0

Answered
Generate triangle input with curve edge
you can use the answer to this question <http://www.mathworks.com/matlabcentral/answers/57604-help-with-plotting-triangular-wave...

7 years ago | 0

Answered
how can i show the plotsomhits, plotsompos to the main form of the layer
<http://blogs.mathworks.com/pick/2012/05/04/plot-google-map/>

7 years ago | 0

| accepted

Answered
How To Segment Image By Color In Matlab?
start here <http://blogs.mathworks.com/steve/2010/12/17/what-color-is-green/>

7 years ago | 0

Answered
Help me find fx from gx,f(fx) ?
here is a start clc;clear syms x gx = input('gx = ','s'); fx = input('f(gx) = ','s'); a = input('f(n) = ','s');...

7 years ago | 0

Answered
imagesc fun plotting scale
colorbar % ?

7 years ago | 0

Answered
how i can have 2 points joining with quiver
x = imread('peppers.png'); imshow(x) hold quiver(50,50,100,100)

7 years ago | 0

Answered
Iterative Gauss-Newton Optimization?
these slides pretty much outline what you are trying to do (with an example of your exact equation). Show some code and highlig...

7 years ago | 0

Answered
extract valuable data from signal
Then use v = V(abs(V)>thr);

7 years ago | 0

Answered
I want to represent the PSD of three signals on a waterfall plot. How can this be done?
First of all, do not name a variable the same as a function! Change the the first psd variable to psd0 = psd(Hs,xn,'Fs',fs...

7 years ago | 0

| accepted

Answered
Pendulum problem, diff equation, error message
try changing this line [t,U]=ode45(@dubbelpendel_vis,t,[theta_1_0 0 theta_2_0 0],options,l,g); to [t,U]=ode45(@dubb...

7 years ago | 0

Answered
Euler's method for second ODE
you are very close, try defining v as v = zeros(length(t),2); v (1,:)= [5,0]; % initial conditions then write your y ...

7 years ago | 0

Answered
MatLab command that will return a matrix that contains the product of every element in two vectors of any length
V1.'*V2 ans = 20 30 60 40 60 120 60 90 180

7 years ago | 0

| accepted

Answered
Retain crisp publication quality figures
my standard answer <http://www.mathworks.com/matlabcentral/fileexchange/23629-exportfig>

7 years ago | 1

| accepted

Answered
How do I extract columns from a matrix using a loop?
for k = 2:length(matrix) var1(k-1) = matrix(k,1); var2(k-1) = matrix(k,2); end %

7 years ago | 0

Answered
what can I do an aortic pressure in matlab?
you can use <http://www.mathworks.com/matlabcentral/fileexchange/7173-grabit *Grab It*> from the file exchange to get data from ...

7 years ago | 0

Answered
How do I plot a hodograph?
do compass or feather work?

7 years ago | 0

Load more