Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
functions corresponding to this database SQL

Subject: functions corresponding to this database SQL

From: hailiang shen

Date: 7 Sep, 2009 22:06:01

Message: 1 of 3

I am manipulating a matrix, with database SQL, it is written as:
select column1, column2, min(column3) from matrix group by column1, column2.

Is there any function in Matlab can finish this job?

Thanks for any input

Subject: functions corresponding to this database SQL

From: Aldon Hynes

Date: 12 Sep, 2009 00:34:03

Message: 2 of 3

I'm not sure if this is what you are looking for, but I had to write something fairly similar to a Group By function for Matlab recently.

You can read about it at
Performing an SQL Style “Group By” in Matlab
http://www.toomre.com/node/801

Aldon

"hailiang shen" <hlshen2005@gmail.com> wrote in message
<h84049$3e8$1@fred.mathworks.com>...
> I am manipulating a matrix, with database SQL, it is written as:
> select column1, column2, min(column3) from matrix group by column1, column2.
>
> Is there any function in Matlab can finish this job?
>
> Thanks for any input

Subject: functions corresponding to this database SQL

From: vlasmetrics@gmail.com

Date: 13 May, 2013 17:33:11

Message: 3 of 3

Hi friend, I read your problem because I have exactly the same problem now. I would want to know if you could solve this stupid problem sucessfully.

Thanks

El lunes, 7 de septiembre de 2009 17:06:01 UTC-5, hailiang shen escribi:
> I am manipulating a matrix, with database SQL, it is written as:
> select column1, column2, min(column3) from matrix group by column1, column2.
>
> Is there any function in Matlab can finish this job?
>
> Thanks for any input

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us