Community Profile

photo

Aldin


Aktiv seit 2011

Followers: 0   Following: 0

Kontakt

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.

Statistiken

  • Thankful Level 3
  • Knowledgeable Level 2
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
How do I create a single random number between two values?
It's very helpful.

etwa 12 Jahre vor | 0

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

etwa 12 Jahre vor | 0

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

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

etwa 12 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, '...

etwa 12 Jahre vor | 0

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

etwa 12 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

etwa 12 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 =...

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

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

etwa 12 Jahre vor | 0

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

etwa 12 Jahre vor | 0

Frage


Karnaugh map
Karnaugh map - algorithm in MATLAB?

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

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

etwa 12 Jahre vor | 3

| akzeptiert

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

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

etwa 12 Jahre vor | 0

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

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

etwa 12 Jahre vor | 1 Antwort | 1

1

Antwort

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

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

etwa 12 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)

etwa 12 Jahre vor | 0

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

etwa 12 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)

etwa 12 Jahre vor | 0

Frage


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

etwa 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Hungary algorithm
Is there in MATLAB function for Hungary algorithm Thanks

etwa 12 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??

etwa 12 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 = ...

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

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

etwa 12 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Sockets
Sockets in MATLAB - how to implement?

etwa 12 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden