252 Topics
I am currently working on a program for Gaussian elimination in Matlab for my numerical analysis class at FAMU. I am having problems understanding my errors in my code. My teacher told me to use a built in gauss elim function that I can not seem to find anywhere. Can …
Hi everyone! I need some help about one problem with Matlab and C. I need to convert Matlab code to C code. I have seen that there are an additional part of Matlab called RealTime Workshop that made it but is not free and i heard about Octave that probably …
Hi everybody I want to write some program in MATLAb as the following: we have a command in MATLAB for solving the Differential equation(dsolve). My problem is that I have a function like: Function x=solving(g) x=dsolve('Dx=x+g') but Matlab dose not solve this function please guide me. sincerely A.CH
I know this is C++ forum but maybe you can still help me out with my MATLAB question. I Think MATLAB is written in C or C++. The functions f(x)= (sqrt(x^2+1) - 1) / x^2 The question is the following: Use MATLAB to compute the limit of f(x) as x …
PBS Job manager I have to use it with MatLab Parallel. Is some one experienced with this one? Let me say that I am not experienced with it at all but what I have done is to use the manual step by step and there is step for testing where …
i want to create x-y axis in matlab under figure, such that whenever i move my mouse cursor to any point within that figure an x-y axis will be created at that point. please help.
Dear Sir, I am looking for Matlab program for my project in Delhi India. If you can provide me the help I will appreciate your effort. Thanks Rajesh
Im not quite sure what this code does: function b = spaghetti(x,r) n = 20; c = zeros(1,n); y = x - floor(x); for i = 1:n z = y*r; c(i) = floor(z); y = z - c(i); end; b = c; Thanks
Hi everyone i am new here and i don't know if it's ok to ask for help so soon but i'd really appreciate it if someone could assist me with a matlab problem i have. Here goes: I have an 100*176 array with each column containing data both categorical and …
I'm designing a Recurrent NN for English letter Prediction. Basically, input vectors is n-1, n-2, ..., 1, etc letter history. The output is predicted letter. I'd like to use decimal ASCII as the input and output values. But the result does reflect my ideal. I suspect the 'decimal ASCII ' …
hi my friends Is there any way that can use "matlab"codes in php?I want to use some matlb codes to make some changes in a picture every time the page is reloded and then show it in web page. is there any way to use matlab in web pages? Best …
Hi... I'm working on feedback error learning controller based on neural network, but I'm so new to this. I had done some coding in matlab but until now the error while learning does not converge to zero. Does anyone know about this or can recommend any good reference or person? …
hello, I have trained a neural network on MatLab and I need to transfer it (the trained network) to a separate file (or generate a function) that I can then use somewhere else (on a robot running Red Hat) where I can use that file as a lookup database or …
Our teacher gave us this project, but I'm not good at MATLAB. Can anybody help me to write this code,please? We're not supposed to use matlab toolboxes, he wants from us to write our own codes. [URL="http://rapidshare.com/files/113937525/proje.doc.html"]http://rapidshare.com/files/113937525/proje.doc.html[/URL]
[COLOR=#228b22] Coefficients in the expansion of (x+y)^n form a pattern which is useful for small values of n. It is known as Pascal's triangle. n Pascal's triangle 1 1 1 2 1 2 1 3 1 3 3 1 4 1 4 6 4 1 5 1 5 10 10 …
Hello everyone, I have a Matlab program that I got and want to run it on my PC. It gives me errors even though I'm 100% sure of the program and the data entry.My problem is in the function calling somewhere please help. My final is due this monday :( …
my problem is when want to include the matlab build library dll file in c# project there will be an error! anyone have experience with this problem and solution for it? thanks! problem description this is my simple matlab code [code] function y = getMatlabMagic(x) y = magic(x); [/code] Then …
Hi, We, in our office use a remote Matlab License server running FlexLM license manager. Since we have very few floating licenses we end up asking to release the license from the fellow engineers many times a day.This creates confusion as we are not knowing who is actually using the …
I am writing a c# application where I need to use matlab functions from my c# sharp code. From the beginning I used the Matlab Automation Server, which worked fine on my computer which has Matlab 7.4.0 (R2007a) installed. However, the application needs to be usable on computers with older …
hi there anyone have any idea on how to cluster 6000 genes using matlab?
anyone help me generate an IMPUSLE impulse train with Matlab??? use the Difference Equation to generate a 80-120Hz impulse train with a 8k Hz sampling frequency: y[n]=D[n]+y[n-k] p.s. any value for k is fine. Thanks!
hey ther ... am a final yr mech engg student..and jus got introduced to matlab 6.5 facing major hurdles wit the programming part...and need a few tips or pointers for ma project..which involves image processing...and dimensioning a rectangle..using this software...need help!!
I've made an image processing application in Matlab, that reads an image and stores the width and height of the image in 2 variables, x and y .... Now i want to read those 2 variables in another application (a C# application) that is running with the Matlab application... Does …
Here's the coding... %============================ %Liquid Density of Palm Oil %============================ %SIngle NN %--------------- %Training Data %--------------- %Temperature(C) T=[20 40 50 60 80 100]; %Training Data (Network Target) %Density(kg/m3) D=[930.0 897.3 890.0 883.0 869.5 857.9]; %Training Data scaling T=(T-20)/(100-20); D=(D-857.9)/(930-857.9); %-------------- %Testing Data %-------------- %Ts(C) Ts=[30 70 90]; %Testing Data (Network …
Hi, I want to create a simple exe(Without any supporting files...just a standalone exe) We dont have Matlab compiler I read in web that we can create exe in Matlab6.0,6.1 using C++ compiler. I have Matlab 7.1 and above. With the current Matlab version can we use C++ or C …
Hi! please i need some help to improve the execution speed of this code: nprime=power(n,3); dprime=power(d,3); MIN=min(F(:,2)); for i=1:1:dprime fprintf('%.0f de %.0f\n',i,dprime); for j=1:1:nprime S=sqrt((F(i,1)-C(j,1))^2+(F(i,2)-C(j,2))^2+(F(i,3)-C(j,3))^2); Sprime=S./a; if real( S)<=c h=8.63*sqrt(1-power(Sprime,2)); t=power((1-Sprime.^2),M); b=abs((real(besseli(m,h))./real((besseli(m,alpha)))).*real(t));%création du blob V(d+(MIN-F(i,2))/u,d+(MIN+F(i,1))/u,d+(MIN+F(i,3))/u)= V(d+(MIN-F(i,2))/u,d+(MIN+F(i,1))/u,d+(MIN+F(i,3))/u)+ Q(j,1)*b; else V(d+(MIN-F(i,2))/u,d+(MIN+F(i,1))/u,d+(MIN+F(i,3))/u)= V(d+(MIN-F(i,2))/u,d+(MIN+F(i,1))/u,d+(MIN+F(i,3))/u); end end end i know that i can speed up …
Hi, I want to create a simple exe(Without any supporting files...just a standalone exe) We dont have Matlab compiler I read in web that we can create exe in Matlab6.0,6.1 using C++ compiler. I have Matlab 7.1 and above. With the current Matlab version can we use C++ or C …
-------------------------------------------------------------------------------- hi guys I'm a final year student, in engineering. i've just signed up to this forum. Hope all is good. i'd appreciate any help. I have a piece of matlab code which used to work like last year. but i am having some trouble with it now. Before i …
Hi everybody, I am Vinod, from Bangalore,India. Interested in Matlab and C Coding for Digital Signal Processing. Regards, Vinod
I've applied histogram equalization for an image in MATLAB using histeq(image,255) I then reran the same function again. I found that rerunning the histogram equalization function does not further equalize the histogram. Can anyone help me understand why this is happening?
I am the beginner in matlab, i made the following matlab code: load gk.dat; % GK data Dgk = gk(:,1); vgk = gk(:,2); [a,b]= size (gk); for i=1:a for j=1:b if (Dgk > 5) A (i,j)= gk(i,j) end end end What I need from the above code is: Take all …
I am a masters student working on a project for one of my professors and i am coming across an issue. I am working on a 6 variable GA scheme for Digital image correlation. I have created a majority of the code but i want to be able to add …
Hi all, I am working on an image processing project and I have encountered with a problem. When I try to call the function [B]parsebinary[/B] to display an image imported from MS Access Northwind database, Employees table, I get an error : [B]function that I called[/B] : parsebinary(photo,'BMP'); [B]Error[/B] : …
I am doing project in matlab. In this project we have to track the movement of the finger and move the mouse according to the finger's movement i am able to track the movement of finger but how to pass these coordinates to mouse cursor and move it using matlab...................................?
i am trying to simulate a fern using affine transformation..i want to know how to amp2d coordinates to 3d coordinates??also is there some other technique in maylab that we paste our picture and get the x ,y ,z coordinate..just as we get in "PAINT"...when we paint the picture...if we have …
Dear all, I'm just swtching c++ programming from windows to Mac os. I had a program using matlab engine, which worked well in windows. When I tried to built it using Eclipse with gcc, it reports linking problems as follows: **** Build of configuration Debug for project MatEng **** make …
Hi all, I'm trying to implement the QR method for solving the linear system Ax = b. The QR factorization is achieved using Householder method. The main function is [CODE]function x = lin_solve(A,b) [R,v] = householder(A); y = Qt_times_b(v,b); x = R\y;[/CODE] Here are the individual functions: [CODE]function [R,v] = …
Hi, i constructed the AND , OR operations in a mutlilayer perceptron using the following codes, a graph is ploted based on the num of epochs after training the data sets. During training, how can i display or print out each iteration of the inputs and display the [U]errors[/U], [U]weights …
Hello every1.. Does any1 know how to generate a unit-strength impulse train using Matlab? i have been trying hard and still cannot get it and i forcefully plot out the impulse train using "stem" function.
hi all..can someone help me how to transfer the C programming in Matlab??
[B][COLOR=darkolivegreen][COLOR=darkorange]please can anybody post links giving detailed explanation about GABOR FILTER PARAMETERS.....OF[/COLOR] [/COLOR][COLOR=sienna]WAVELENGTH, PHASE, SIZE(SIGMA), AND SPATIAL ASPECT RATIO AND BANDWIDTH....I AM DESIGNING GABOR FILTERS IN MATLAB..[/COLOR][/B]
need help urgent for 1 matlab question. Is there any people here who can help me on the matlab?I dont know how to start this off. Anyone can advise me? Please kindly advise. Thanks.
i've been trying to code some GUI's on MATLAB and i can't seem to put pictures in the GUI. how do i put any image file in my computer on a MATLAB GUI? Please help... right now i'm just drawing lines with the 'line' function and... it's not pretty. ~taz
i didnt find a 'Matlab' thread so here i am. anyway, i've been trying to code some GUI's on MATLAB and i can't seem to put pictures in the GUI. how do i put any image file in my computer on a MATLAB GUI? Please help... right now i'm just …
Please help me! Do Matlab COM Builder could build Neural net work to dll? Thanks
[COLOR=#000000]How do I write a code to represent an array of data points, called Ysec, into a polynomial using Matlab?[/COLOR]
[quote=1o0oBhP;98121]I have been studying Engineering at university now and have come across a language which is apprently an industry standard - MatLab. It is a scripting language very close to C at times yet comes with a vast selection of tool boxes and specialised functions for engineering. I wondered whether …
hi everbody, i am new to matlab,i want a function which converts foalting point bumbers to binary string i downloaded 2 files(num2bin.m,bin2num.m) from [url]http://www.mathworks.com/matlabcentral/fileexchange/Files.jsp?type=category&id=&fileId=1777[/url] .could anyone tell me how to use them(i.e where to save them and how to use them in my code)
I have a text file with data and i would like to know how to attack this specific question. If anyone has a suggestion, please let me know. Thanks. [COLOR=#000000]Given a substance with Diffusion coefficient of 1.1x10-5 cm2/s diffusing into a semi-infinite slab, calculate the time it takes for the …
Hello Friends, Greetings. I am Maria, working on Matlab related application. We have compiled a set of Matlab .m files using Matlab .net compiler and got dll (for .net). I tried to use it in c#. The dll's method.. takes the input parameter in MWArray format and send output in …
The End.