Réponse apportée
search for rows of a matrix within bigger matrix (without for loop)
[C,IA] = intersect(A,B,'rows') or [tf,rowA] = ismember(B,A,'rows') see doc intersect doc ismember

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
create plot without x y data, draw plot line just like paint on matlab
Are you looking for something like this? plot(1:10,rand(1,10)) axis off

plus de 14 ans il y a | 0

Réponse apportée
3D space and coordinate reference systems
Then you can just use |plot3| doc plot3

plus de 14 ans il y a | 0

Réponse apportée
How to concatenate two matrices
z = [x;y]; z = z(:).'

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
3D space and coordinate reference systems
You can use |quiver3|, e.g. quiver3(zeros(3,1),zeros(3,1),zeros(3,1),[1;0;0],[0;1;0],[0;0;1]) For details, see doc ...

plus de 14 ans il y a | 4

Réponse apportée
How can you change the colour of the plot when using scatter function?
The syntax of scatter(x,y,s,c) supports |c| being a 3-ciolumn matrix where each row is a combination of RGB values, e.g...

plus de 14 ans il y a | 0

Réponse apportée
While Loops (HELP!!)
You need to update your Y in each loop otherwise time goes by and the altitude of the skydiver never changes. See the equation i...

plus de 14 ans il y a | 0

Réponse apportée
matalab figures questions
Not sure if I understand your question correctly, but this can probably get you started For the first question, try axis...

plus de 14 ans il y a | 0

Réponse apportée
syntax help
h1 = h1';

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
how do you print the counter value in an input statement?
Use |sprintf|, e.g., input(sprintf('please enter wall #%d U-factor:',k))

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Efficient Row x Collumn multiplication
sum(A'.*B)

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
dir() function not working?
You need to use oldFileName = files(k).name see http://www.mathworks.com/help/techdoc/ref/dir.html

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Butterworth filter
Butterworth filter is a part of Signal Processing Toolbox. If you type ver in your command line, can you see Signal Proc...

plus de 14 ans il y a | 0

Réponse apportée
frequency estimation
If you have Signal Processing Blockset or DSP System Toolbox, you can use the FFT block http://www.mathworks.com/help/toolbox...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Convert a column of dates
try |cellfun| cellfun(@datenum,... see the doc doc cellfun

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
How can I put a line into an existing subplot
Do you have to use |line|? You can try plot(allAxes(6),[a a],[b b]);

plus de 14 ans il y a | 1

Réponse apportée
Insert Degree Symbol in Axes Title
By default, |title('20^{\circ}')| should work. If not, you can do title('20^{\circ}','Interpreter','tex')

plus de 14 ans il y a | 6

Réponse apportée
Folder names in MATLAB project
Those are folders for MATLAB class files. Take a look at this documentation http://www.mathworks.com/help/techdoc/matlab_oop/...

plus de 14 ans il y a | 2

| A accepté

Réponse apportée
overwrite a text file with other data
Use 'w' option to open the file fid=fopen('testdata','w'); fprintf(fid,'%d %d %d',3,6,9); fclose(fid); For details...

plus de 14 ans il y a | 0

Réponse apportée
little problem in plotting a signal. Both x, y has the same lenght but is not plotting correctly
Yes you don't need to write the loop, if you mean for imaginary part, then it is R = 1i*Tc*sinc(f.*Tc/2).*sin(pi*f.*Tc/2) ...

plus de 14 ans il y a | 0

Réponse apportée
little problem in plotting a signal. Both x, y has the same lenght but is not plotting correctly
I don't think |a| is the issue here. In your R(a), do you mean pi instead of i for the first term? BTW you should be able to ...

plus de 14 ans il y a | 0

Réponse apportée
How can I select lines in a subplot and delete them?
If you don't need to automate the process, it's actually easier to do from the figure window. Just click the arrow on the toolba...

plus de 14 ans il y a | 1

Réponse apportée
How to close Simulink model subsystems
doc bdclose doc close_system

plus de 14 ans il y a | 0

Réponse apportée
Solving for a single unknown (non-linear equation)
Move 6.2 to the right side of the equation and then use |fzero|. doc fzero for example, to solve x+1 = 2 fzero(@(x)...

plus de 14 ans il y a | 0

Réponse apportée
how sort just nonzero values?
Do you want to keep all zeros at the original location? If so c = [8 4 5 1 0 0 0]; c(c~=0) = sort(c(c~=0));

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
file management
You can use |dir| to read in the file listing in the current directory. Then you can use |input| to get the the file name from c...

plus de 14 ans il y a | 0

Réponse apportée
Help!!!!!!!! How to replace all the negative values in an array with zeros?
Did you delete your original question? I answered this several days ago. Please do not delete your question. Instead, if the ans...

plus de 14 ans il y a | 2

| A accepté

Réponse apportée
resize of axes
There are many functions doc xlim doc ylim doc axis

plus de 14 ans il y a | 0

Réponse apportée
Rather trivial question
Use |...| For example t = 1 + ... 2

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
HOW TO PLOT A CHIRP SIGNAL WITH BIDIRECTIONAL SWEEP
You can connect two signals together. Say you want to sweep from 0 to 100 Hz in 1 seconds and then sweep down. T1 = 1; F...

plus de 14 ans il y a | 0

| A accepté

Charger plus