Respondida
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; ...

alrededor de 11 años hace | 0

| aceptada

Respondida
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)<....

alrededor de 11 años hace | 0

Respondida
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]) ...

alrededor de 11 años hace | 0

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

alrededor de 11 años hace | 4

| aceptada

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

alrededor de 11 años hace | 0

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

alrededor de 11 años hace | 0

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

alrededor de 11 años hace | 0

| aceptada

Respondida
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...

alrededor de 11 años hace | 0

Respondida
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...

alrededor de 11 años hace | 0

Respondida
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) ...

alrededor de 11 años hace | 0

Respondida
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...

alrededor de 11 años hace | 0

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

alrededor de 11 años hace | 0

| aceptada

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

alrededor de 11 años hace | 0

Respondida
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...

alrededor de 11 años hace | 0

Respondida
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/>

alrededor de 11 años hace | 0

| aceptada

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

alrededor de 11 años hace | 0

Respondida
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');...

alrededor de 11 años hace | 0

Respondida
imagesc fun plotting scale
colorbar % ?

alrededor de 11 años hace | 0

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

más de 11 años hace | 0

Respondida
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...

más de 11 años hace | 0

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

más de 11 años hace | 0

Respondida
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...

más de 11 años hace | 0

| aceptada

Respondida
How can I do a contour plot of velocity, having x, y coordinates and its length on x and y axis?
contour(x,y,hypot(vx,vy))

más de 11 años hace | 0

Respondida
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...

más de 11 años hace | 0

Respondida
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 ...

más de 11 años hace | 0

Respondida
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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 1

| aceptada

Respondida
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 %

más de 11 años hace | 0

Respondida
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 ...

más de 11 años hace | 0

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

más de 11 años hace | 0

Cargar más