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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 4

| accettato

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

Risposto
imagesc fun plotting scale
colorbar % ?

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

Risposto
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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 1

| accettato

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

Carica altro