Community Profile

# Aldin

Aktiv seit 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.

#### Statistics

Abzeichen anzeigen

#### Content Feed

Anzeigen nach

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

fast 11 Jahre vor | 0

Beantwortet
error in large integers
Hi, use vpa functon for example: vpa('4045/2989',100) ---> for hundred digits

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

Beantwortet
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, '...

fast 11 Jahre vor | 0

Beantwortet
Sort
Here: 0.5:0.1/20:0.6 Beacuase: (0.6 - 0.5)/20

fast 11 Jahre vor | 0

Beantwortet
finding an item in an array
Here is my solution: a = [ 1 2 2 2 4 ]; find(a==2) ans = 2 3 4

fast 11 Jahre vor | 1

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

fast 11 Jahre vor | 0

Beantwortet
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...

fast 11 Jahre vor | 0

Beantwortet
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.

fast 11 Jahre vor | 0

Beantwortet
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...

fast 11 Jahre vor | 0

Frage

Karnaugh map
Karnaugh map - algorithm in MATLAB?

fast 11 Jahre vor | 1 Antwort | 0

### 1

Antwort

Beantwortet
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.

fast 11 Jahre vor | 0

Beantwortet
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...

fast 11 Jahre vor | 3

| akzeptiert

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

fast 11 Jahre vor | 1

| akzeptiert

Beantwortet
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...

fast 11 Jahre vor | 0

Beantwortet
logical indexing
Here: for i = 1:5 if b(i) == 1 disp(a(i)) end end :)

fast 11 Jahre vor | 0

Frage

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...

fast 11 Jahre vor | 1 Antwort | 1

### 1

Antwort

Beantwortet
jar

fast 11 Jahre vor | 0

| akzeptiert

Frage

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 ...

fast 11 Jahre vor | 1 Antwort | 0

### 1

Antwort

Beantwortet
bug in matlab 2010b, trig functions (cosd, sind etc.)
The result is consistent for MATLAB 1.9. (R2009b)

fast 11 Jahre vor | 0

Beantwortet
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...

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

Frage

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

fast 11 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Hungary algorithm
Is there in MATLAB function for Hungary algorithm Thanks

fast 11 Jahre vor | 4 Antworten | 0

### 4

Antworten

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

fast 11 Jahre vor | 0

Beantwortet
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 = ...

fast 11 Jahre vor | 0

| akzeptiert

Frage

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...

fast 11 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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, ...

fast 11 Jahre vor | 1 Antwort | 1

### 1

Antwort

Frage

Sockets
Sockets in MATLAB - how to implement?

fast 11 Jahre vor | 1 Antwort | 0

Antwort