We help IT Professionals succeed at work.

link Matlab and C#

2,434 Views
Last Modified: 2016-02-10
Hi,I am doing some kind of data clustering,I use C# to get necessary data from my database,i.e matrix that represents my data.
Rows of that matrix represent words and columns represent documents,matrix is 1-0 matrix which means that ij element of matrix is 1 if i-th word appears in j-th document,and 0 otherwise. Then I use Matlab 7.1 to analyze that data,i.e do some clustering with Matlab kmeans function.My question is:
after Matlab groups my data(which is btw. very very large matrix) I would like to see which document is in which group?how can I do this using C#?I.e how can I accomplish this connection between matlab and C# program?I would like C# program be able to display these documents are in first group,these are in second group,etc. based on clustering results that I get from Matlab.
Comment
Watch Question

Author

Commented:
Anyone? ...
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Hi,I've read it,but I'm not sure that I understand it.I don't understand how to use his matnet library in C# application.Please could you help me with that?

Commented:
The link I gave was intended to give you the background needed to run the Matlab Engine.  All you have to do is download the source and try it.  Did that not help at all?

Author

Commented:
yes,it helped eventually.thank you.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.