Answered
iteration to convergence
I think it converges pretty quick; see below. My tweaks are commented with % *comment * clc;clear %%Constants lambdaE=...

14 years ago | 1

| accepted

Answered
new line
d=magic(3); fprintf('%g %g %g\n',d) % '\n' = newline

14 years ago | 0

Answered
how get over ' | ' ?
one possible solution without for loop b(b=='|')=[] b = 1Toy Story (1995)01-Jan-1995 *[EDIT]* b = 1|Toy ...

14 years ago | 0

Answered
BAR: Stacking identical data
using your 'fake' data try: bar(c','stack')

14 years ago | 0

Answered
Hi!!! i am using Matlab for the first time!) Please, Can u Help me to solve a non-linear system?!
Using the symbolic toolbox, I got the following using solve() which assumes both expressions are equal to 0. note that i is imag...

14 years ago | 0

Answered
Curve fitting??
perhaps I am misunderstanding, but the following shows how to fit 3 curves in two variables: clc;clear;close all x = sor...

14 years ago | 0

Answered
Multiple Convolutions and Indexing using Vectorization
I don't see how you'd get around using a loop. That said, are you pre-allocating C?

14 years ago | 0

Answered
How to write coding for Active Appearance Model using MATLAB ?
a quick search turned this up on the fex <http://www.mathworks.com/matlabcentral/fileexchange/26706-active-shape-model-asm-and-a...

14 years ago | 0

| accepted

Answered
smoothing out a matrix
doc conv()

14 years ago | 0

Answered
A basic matlab problem
m = 9.5*ones(1,15)

14 years ago | 0

Answered
Finding the contour based on the colour of the image
perhaps Steve's <http://blogs.mathworks.com/steve/page/4/ series> on L*a*b* color space would be helpful

14 years ago | 0

Answered
problem with lognormal cumulative distribution function
you need to take the exponential of number: logncdf(exp(.04),.04,.01) ans = 0.5000

14 years ago | 0

| accepted

Answered
Using Data Cursor to Draw an Area for Analysis
sounds like you want to designate a region of interest (ROI) which requires the image processing toolbox

14 years ago | 0

Answered
Multiple solutions using fsolve
using a starting vector of xo = [0 0 5 3 4 0 0 0 0 0 0 0 0 0 0] [sol,fval,exitflag] = fsolve(@sol_nonlin,xo,options) co...

14 years ago | 0

Answered
Jump and if then instructions in matlab programming?
there is no goto in Matlab

14 years ago | 0

Answered
select all .xls files together and read one by one( without naming .xls file in a specified name)
d = dir('*.xls'); for k = 1:numel(d) %open file & do stuff here fprintf('%s\tchecked\n',d(k).name) end...

14 years ago | 1

| accepted

Answered
Insert selected gridlines into an image
to give an idea: c = imread('pout.tif') imshow(c) hold line([0 291],[20 20],'linestyle',':')

14 years ago | 0

Answered
how to create a GUI?
how about this from the FEX: <http://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples GUI examples>...

14 years ago | 1

| accepted

Answered
importdata: file name string operations
a = dir('file_name_primary_index*'); %use wildcard

14 years ago | 0

| accepted

Answered
Calculate 2 standard deviations
that is correct

14 years ago | 0

Answered
cylnder surface
how about: doc fill3 % ?

14 years ago | 0

Answered
Log Normal Distribution Fitting
you can try this from the FEX: * <http://www.mathworks.com/matlabcentral/fileexchange/4222-a-collection-of-fitting-functions ...

14 years ago | 0

Answered
How can create the fuzzy object?
doc conv2 might want to also look at <http://en.wikipedia.org/wiki/Gaussian_blur gaussian blur>

14 years ago | 0

Answered
GUI show only last 5 values in plot
don't know if it will help, but explore the use of drawnow() also, be aware of the datetick options 'keeplimits' and 'ke...

14 years ago | 1

| accepted

Answered
Plotting help, please?
Change the following lines in your code to use ./ instead of / tan3a = (-E + sqrt(E.^2 - (4 .* D .* F)))./ (2 .* D);% no...

14 years ago | 0

| accepted

Answered
Plotting help, please?
you might try using the function atan2() instead of atan() otherwise, please provide values for k1..k5 so the p...

14 years ago | 0

Answered
Parabolic regression problem
A = [ones(size(x)), x, x.^2]; abc = A\y;

14 years ago | 1

| accepted

Answered
Solving Over-determined Non-linear equations.
I will refer to your equations as eq1 through eq8. You'll notice that the higher order terms have the same coefficients (this i...

14 years ago | 0

Answered
how can i shade the area between two curve
x = linspace(kokler(1),kokler(2)); % 100 points between intersections yy1 =x.^2; %lower function yy2 = -(x.^2-16); % upper fun...

14 years ago | 1

| accepted

Load more