Réponse apportée
problem with displaying multiple plots in one Figure
To plot in the same figure use SUBPLOT. Something like this: figure; subplot(2,2,1); plot(E_Real_Hauptantrieb_130.t...

presque 10 ans il y a | 3

| A accepté

Réponse apportée
how do you increment and continue until the end of all your experiments?
You can simplify a lot your code. Try this N=100; aces = [1,14,27,40]; first_ace_n = zeros(1,N); for k=1:N ...

presque 10 ans il y a | 5

| A accepté

Réponse apportée
Hi, I have this code and there some errors in line 12 and 14 can any one help me. Thanks
You cannot write a FUNCTION inside a script. Functions can be nested only into other funcitons, not in scripts. So write this fu...

presque 10 ans il y a | 3

| A accepté

Réponse apportée
How to compare two images using spatial frequency of image blocks?
Matlab allows you to compute spatial frequency of an image by using function Fast Fourier Transform in dimension 2: FFT2. If X ...

presque 10 ans il y a | 3

Réponse apportée
How to update the position of legend with 'Best' Location?
At every new plot reissue the command legend(...,'Location', 'Best') So that Matlab recomputes the right position to pla...

presque 10 ans il y a | 6

Réponse apportée
For similar feature points in two image, How can i find angular displacements between all similar points?
If a=[a1;a2] and b=[b1;b2] are two 2D matching points, you can measure the angle theta between them by inverting the cosine form...

presque 10 ans il y a | 3

| A accepté

Réponse apportée
how to compare the characteristics of two graphs
As far as I can get, the two graphs have the same derivative. Try differenziate both of them, you will get similar results. Use ...

presque 10 ans il y a | 4

| A accepté

Réponse apportée
Need help with this code - linear regression/least squares
Hi Tristen. Here is the function for Ordinary Least Squares to linear regression function [a0,a1]=linear_regression(x,y) ...

presque 10 ans il y a | 5

| A accepté

Réponse apportée
threshold 3D visualisation
Ok, so try this one. It includes a fast way to generate a random array with only 1 or 2 entries. %generate a 3d-matrix of s...

presque 10 ans il y a | 3

| A accepté

Réponse apportée
threshold 3D visualisation
Try this out. Given a set of 10 points (3dim) and a set of labels (1,2) it returns the plot of the points according to the label...

presque 10 ans il y a | 0

Réponse apportée
Measuring Integrated Intensity using regioprops
You may ask the REGIONPROP function to provide you the pixel indexes of the regions detected by the algorithm. Then you can use ...

presque 10 ans il y a | 4

Réponse apportée
How to add velocity colourbar to graph
The plot3 function does not allow to map different colors. However, you can get around using SURFACE. Try this. %3d coordi...

presque 10 ans il y a | 4

| A accepté

Réponse apportée
How do I get a vector with the coefficients from a transfer function?
Hi Lara, the tf you generate is a structure and it stores the information you need in the NUM cell. To get your coefficient v...

presque 10 ans il y a | 4

| A accepté

Réponse apportée
Hi every one! I have inversed matrix invA from my matrix A (det(A)=!0), but invA*A =! I (identity matrix). Please explain me why?
Hi Cong Dang, most probably your matrix is badly conditioned (meaning that there are some almost linearly dependent columns). ...

presque 10 ans il y a | 2

| A accepté

Réponse apportée
how to make a programme for colors value from image?
Hi Dilshad, what you want is very simple. Follow this code. %load image from Matalb demo images (or load your own color ima...

presque 10 ans il y a | 5

| A accepté

Réponse apportée
3D plotting of five inequalities
Hi Matthew. If you are looking for the portion of 3D space where points satisfy all the inequalities at the same time, then one ...

presque 10 ans il y a | 7

| A accepté

A résolu


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

presque 10 ans il y a