[Solved] set of n-linear equations in matlab [closed]

You can write n-linear equations as one matrix equation to solve it. Here you can find great example: http://blogs.mathworks.com/pick/2007/09/13/matlab-basics-video-solving-linear-equations/ (video!) See also these pages:http://en.wikipedia.org/wiki/System_of_linear_equationshttp://en.wikipedia.org/wiki/Matrix_equation 2 solved set of n-linear equations in matlab [closed]

[Solved] How to combine low and high frequencies of two images in Matlab [closed]

You’ve basically outlined the right approach which I’ll summarize here: 1) Do the 2D FFTs. 2) Multiply them by a weighting factor. If you’re FFTs are in (Real, Imaginary) form, multiply both components by the weight, and if (Magnitude, phase) just multiple the magnitude. If you’re interested in just high and low frequencies, this will … Read more

[Solved] Hi, can anyone tell me code how to create histogram without the toolbox (imhist,hist) from matlab?

A bit more efficient than your code: histogram = zeros(1,256); for value = 1:256 % loop through possible values histogram(value) = histogram(value) + length(find(F(:)==value)); end Note that this code makes a histogram for values from 1 to 256. For grayscale images you might need one from 0 to 255. But I’ll let you change this … Read more

[Solved] how to extract each characters from a image?with using this code

Why don’t you simply use regionprops with ‘Image’ property? img = imread(‘http://i.stack.imgur.com/zpYa5.png’); %// read the image bw = img(:,:,1) > 128; %// conver to mask Use some minor morphological operations to handle spurious pixels dbw = imdilate(bw, ones(3)); lb = bwlabel(dbw).*bw; %// label each character as a connected component Now you can use regionprops to … Read more

[Solved] Why savepath resets userpath in Matlab?

I could not maintain stably the userpath in the system so a solution which works in the beginning of the functions checkSystemMemory(); %% TODO Virtual memory; enable virtual memory on HDDs. % http://askubuntu.com/q/799834/25388 home=char(java.lang.System.getProperty(‘user.home’)); % all systems if (isempty(userpath)) userpath(fullfile(home, ‘Documents/bin/matlab/’) ) % list software locations in the project location addpath(fullfile(home, ‘Documents/Math/’) ) % list … Read more