48 total contributions since 2011

Hi

I'm a third-year electrical engineering student. I know a lot of computer languages and technologies (e.g. JAVA, C++,...)

But I want also to learn MATLAB, that's the reason of the existence of my profile here.

Answered

How do I create a single random number between two values?

It's very helpful.

How do I create a single random number between two values?

It's very helpful.

9 years ago | 0

Answered

error in large integers

Hi, use vpa functon for example: vpa('4045/2989',100) ---> for hundred digits

error in large integers

Hi, use vpa functon for example: vpa('4045/2989',100) ---> for hundred digits

9 years ago | 0

Answered

GUIDE GUI desing

For first problem: Write as Callback for your button this code: [a,b] = uigetfile open([b,a])

GUIDE GUI desing

For first problem: Write as Callback for your button this code: [a,b] = uigetfile open([b,a])

9 years ago | 0

Answered

Accessing .sql database file

Look here for connection: <http://www.mathworks.com/matlabcentral/answers/32618-connecting-to-mysql-using-jdbc> and here f...

Accessing .sql database file

Look here for connection: <http://www.mathworks.com/matlabcentral/answers/32618-connecting-to-mysql-using-jdbc> and here f...

9 years ago | 0

Answered

finding an item in an array

HERE IS THE COMBINATION OF Daniels AND my CODE: x = [1 2 2 2 4 5 5 3 3 2]; a = unique(x); [~,b] = unique(x, '...

finding an item in an array

HERE IS THE COMBINATION OF Daniels AND my CODE: x = [1 2 2 2 4 5 5 3 3 2]; a = unique(x); [~,b] = unique(x, '...

9 years ago | 0

Answered

finding an item in an array

Here is my solution: a = [ 1 2 2 2 4 ]; find(a==2) ans = 2 3 4

finding an item in an array

Here is my solution: a = [ 1 2 2 2 4 ]; find(a==2) ans = 2 3 4

9 years ago | 1

Answered

New Vector

Hi, i think you need 4 counters, in this case you code will be like this: Syb = []; counter1 = 0; counter2 = 0; counter3 =...

New Vector

Hi, i think you need 4 counters, in this case you code will be like this: Syb = []; counter1 = 0; counter2 = 0; counter3 =...

9 years ago | 0

Answered

find a value & store in new variable (again)

Here, try this code: A = [ 2 1 3 2 4; 4 5 3 6 2; 2 3 5 3 6; 1 2 5 3 6; 3 2 5 2 5] for i = 1:5 if A(i,1) == 2 A(i,2...

find a value & store in new variable (again)

Here, try this code: A = [ 2 1 3 2 4; 4 5 3 6 2; 2 3 5 3 6; 1 2 5 3 6; 3 2 5 2 5] for i = 1:5 if A(i,1) == 2 A(i,2...

9 years ago | 0

Answered

Is there a way to save a variable created in a function to the workspace?

If you working in GUI i THINK that's impossible. It is an mistake in MATLAB because the data are not permanent as in Java.

Is there a way to save a variable created in a function to the workspace?

If you working in GUI i THINK that's impossible. It is an mistake in MATLAB because the data are not permanent as in Java.

9 years ago | 0

Answered

Login and password in matlab

At first you have to know how to make a connection with ms - access in MATLAB. Than write a SQL Query for select all usernames a...

Login and password in matlab

At first you have to know how to make a connection with ms - access in MATLAB. Than write a SQL Query for select all usernames a...

9 years ago | 0

Answered

Matlab gives wrong determinant value of 2x2 Matrix without warning.

It depends of your MATLAB version. My version is MATLAB 7.9.0 (R2009b) - worked a charm. By me the result of matrix is 2.

Matlab gives wrong determinant value of 2x2 Matrix without warning.

It depends of your MATLAB version. My version is MATLAB 7.9.0 (R2009b) - worked a charm. By me the result of matrix is 2.

9 years ago | 0

Answered

Connecting to MySQL using JDBC

At first you need to copy/paste your driver (jar file: mysql-connector-java-5.1.18-bin.jar in in this folder (by me): *C:\Progra...

Connecting to MySQL using JDBC

At first you need to copy/paste your driver (jar file: mysql-connector-java-5.1.18-bin.jar in in this folder (by me): *C:\Progra...

9 years ago | 3

| accepted

Answered

Field text- number

I have tested my code: set(handles.edit1,'String',num2str(4.5)); It's correct.

Field text- number

I have tested my code: set(handles.edit1,'String',num2str(4.5)); It's correct.

9 years ago | 1

| accepted

Answered

logical indexing

but what if you haven't only '1' and '0' in b array. I think it's better my first solution or second &Onomitra Ghosh his code w...

logical indexing

but what if you haven't only '1' and '0' in b array. I think it's better my first solution or second &Onomitra Ghosh his code w...

9 years ago | 0

Question

matlab compactibilty

Hello people, Here is my problem: I have created jar file in MATLAB and i use this jar file in JAVA (NetBeans). Here is...

9 years ago | 1 answer | 1

Answered

jar

Here is the answer: file:///C:/Program%20Files/MATLAB/R2009b/toolbox/javabuilder/web/demos/using-builder-ja.html

jar

Here is the answer: file:///C:/Program%20Files/MATLAB/R2009b/toolbox/javabuilder/web/demos/using-builder-ja.html

9 years ago | 0

| accepted

Question

jar

Please send me the video from MATLAB help about jar files in NetBeans. Or please explain me how to use jar file in NetBeans. I ...

9 years ago | 1 answer | 0

Answered

bug in matlab 2010b, trig functions (cosd, sind etc.)

The result is consistent for MATLAB 1.9. (R2009b)

bug in matlab 2010b, trig functions (cosd, sind etc.)

The result is consistent for MATLAB 1.9. (R2009b)

9 years ago | 0

Answered

load matrix from *.txt file

Hey you! Use excel file is much easier and better than txt. If you want i can write for you the algorithm how to do this in w...

load matrix from *.txt file

Hey you! Use excel file is much easier and better than txt. If you want i can write for you the algorithm how to do this in w...

9 years ago | 0

| accepted

Answered

Reset Button Gui

You can try this code: Callback for your RESET BUTTON: set(handles.edit1,'String','') ('' - is empty String)

Reset Button Gui

You can try this code: Callback for your RESET BUTTON: set(handles.edit1,'String','') ('' - is empty String)

9 years ago | 0

Question

mp3

Does MATLAB support mp3 files. I mean how to play mp3 file in MATLAB.

9 years ago | 1 answer | 0

Question

Hungary algorithm

Is there in MATLAB function for Hungary algorithm Thanks

9 years ago | 4 answers | 0

Answered

Help me: edit box

Do you mean: you have edit box , and button when you click on button the CHAR variable must be increased??

Help me: edit box

Do you mean: you have edit box , and button when you click on button the CHAR variable must be increased??

9 years ago | 0

Answered

problem with if condition

Solution: Here, try this algorithm: clear all t=0:0.1:1; k=length(t); a=0; for i=1:k b = ...

problem with if condition

Solution: Here, try this algorithm: clear all t=0:0.1:1; k=length(t); a=0; for i=1:k b = ...

9 years ago | 0

| accepted

Question

WEB

Can we use MATLAB for web developing? I use NetBeans for web developing in Java server page. Can i use MATLAB code in NetBeans...

9 years ago | 1 answer | 0

Question

deploytool

I want to create a jar file in MATLAB. But i get this message: 'javac' is not recognized as an internal or external command, ...

9 years ago | 1 answer | 1