A répondu
Shifting plotted points from green to red
@Jared Dube, [edit: added 'filled' to fill in the points] [edit 2: change from red -> green to green -> red, as originally req...

environ un mois il y a | 0

| A accepté

A répondu
How to fit the cdf to a function?
@Hozifa, [edit: correct spelling and grammar] I put the data in a text file so it is not in your code. It appears that the da...

environ un mois il y a | 0

| A accepté

A répondu
Creating a file from different-sized files.
@Nada, Line_2.mat contains several variables. Let's assume you are interested in the one called Data. To append the data in T...

environ un mois il y a | 0

| A accepté

A répondu
Plotting Data Points with Lines to Indicate Unchanging Conditions Over Time
@John, stairs(x,y) I use it for heart rate data all the time, since, once you have a rate estimate from detecting the second R...

environ un mois il y a | 0

| A accepté

A répondu
Stress Strain calculation in matlab
@Ilksen Altuntas, Good advice from @the cyclist, as always. And from @Cameron also. If you just have a text file with 2 colum...

environ un mois il y a | 0

A répondu
Polyfit function is returning a partial line of best fit
@Gregory Lang, Since you did not include a .mat file with the data being fitted (sbchl, sbb555, gichl, gib555), others cannot r...

environ un mois il y a | 0

| A accepté

A répondu
Are there any matrix balancing/scaling function in matab for complex rectagular matrices?
@Kalasagarreddi Kottakota, [edit : correct spelling] You say you want to invert a 45x2 matrix. As you know, a non-square matri...

environ un mois il y a | 0

A répondu
How to check the proportionaly of columns of a complex rectagular matrix?
@Kalasagarreddi Kottakota The correlation is a measure of the proportionality of two vectors. When the vectors are complex, the...

environ un mois il y a | 0

A répondu
2D Acoustic Source Localization with a 1D Array and MVDR
@Jad El Harake, I think this question is a matter for investigation, and that you will have to experiment. The two dimensions ...

environ un mois il y a | 0

A répondu
How to mark curve intersections on a graph
@Kristina, [edit: Correcting my spelling mistakes. No changes to the code.] The reason that this is not as easy a problem as ...

environ un mois il y a | 1

A répondu
Equally distributed multidimensional random values with boundaries - how to generate?
@Karol, my new understanding is that you want to find a uniformly distributed random point in a 3D rectangle. The bounds of the ...

environ un mois il y a | 0

| A accepté

A répondu
how can i show up to 6 periods of this signal only, while being able to see the top and bottom of the wave?
@Thabo Dube, Nice answer from @Les Beckham. Or, if you simply want to change the x-axis range, you can do xlim([0 0.01]); a...

environ un mois il y a | 1

| A accepté

A répondu
How to solve an equation with arrays
@Din N, The commands b=0.01:0.1:500; syms k_eff k_eff=sym('k_eff',length(b)); cause Matlab to try to create a sybolic arr...

environ un mois il y a | 0

A répondu
A selection of a time window in order to calculate the fft of my filtered signal
@Justine Jehlen, Y=fft(y(825:932)); returns the fft of signal y, from sample 825 through 932. That seems too easy, so perha...

environ un mois il y a | 0

A répondu
how to place two images on canvas by a reference vector to relate their relative distance, one image is fixed
@Yuhong, You write: "I'm confused by the matlab coordinate system": X increases as one goes to the right, from the top left co...

environ 2 mois il y a | 0

A répondu
Make dla with circles instead of pixels
@george korris, Here is a script that does what I think you are requesting. Each monomer in the aggregate is represented by a c...

environ 2 mois il y a | 1

| A accepté

A répondu
Problems reading xls files.
@Claudio Iturra, [edited: crrected spelling mistakes] When I downloaded the file and tried to open it with Excel on my Windoes...

environ 2 mois il y a | 0

| A accepté

A répondu
Given a quadrilateral image, not necessarily a rectangle, how to find its top left point's x-y coordinate
@Yuhong, Since you did not include an image, I will make one. Then I search along the diagonals for a Non-NaN pixel, starting a...

environ 2 mois il y a | 0

| A accepté

A répondu
Gravity turn solver only works for a gamma of 90 degrees
@Jordan Booth This looks like a nice model! Your equation for = d(theta)/dt = dp(2)/dt is dpdt = [... (p(3)*cosd(p...

environ 2 mois il y a | 1

| A accepté

A répondu
How to plot the volume shared by two 3D shapes
@Michael Boyte, patch() and fill3() are options worth considering. With either approach, you will have define the lens-shaped ...

environ 2 mois il y a | 0

| A accepté

A répondu
Data fitting using thin-plate spline/interpolation
@Pelajar UM, I too am unable to find the coefficients for the thin plate psline model. I can evaluate the fitted model in two ...

environ 2 mois il y a | 1

| A accepté

A répondu
How to design a FIR filter by frequency response Datas for shaping white noise
@venkat ta, I think you want to create an FIR filter whose response is equal to the invese of the coherence. I will assume thi...

environ 2 mois il y a | 0

| A accepté

A répondu
How can i create frequency and time domain from raw data
@ALIFF DANIAL, To plot the time domain data, use plot(). Read the help for plot() if you are unsure. To plot the data in the ...

environ 2 mois il y a | 0

A répondu
How do I get I pass out the input parameter to ode45 integration
@Hafeez Jimoh, I think @Torsten, is right, as usual. I think you are simulating a one-dimensional system in which the velocity...

environ 2 mois il y a | 0

| A accepté

A répondu
I want to know how to solve Green's Theoreom
@명우, The advice from @Roshan Swain is very good. Share your table of Bn, Bt, and share the path you plan to take. (The path i...

environ 2 mois il y a | 0

A répondu
ODE23s Solver "Not enough input arguments"
@ephoi, Your code: global sweep Pp C1 C2 Pt theta % constants r0=2e-5; % Radius of the tube without membrane, [m] Ri...

2 mois il y a | 0

| A accepté

A répondu
How to fit curves with two variables to equation?
@Amadeus Wolf, please post the data (the three matrices) which you are trying to fit: k and c/c0 and v. [edit: Remove reference...

2 mois il y a | 1

A répondu
How do I register or stitch multiple sub-images together into a larger image using unique fiducial features with rigid transformation?
@gwoo, Use xcorr2(). See the example here: Align two images using cross correlation Determine the best alignment of image 1 ...

2 mois il y a | 0

A répondu
Create a square grid with some random points inside that follow the poisson distribution and use each of these points as a starting point for my function
@george korris, If you place a point at random in the unit square with rand(), then the the distribution of points inside small...

2 mois il y a | 1

| A accepté

A répondu
How to transform a set of lines to a set of circles using möbius transformation?
@Niloufar, [edit: fix typos in my text; code is unchanged] Your image does not include a scale or (more importantly) an indica...

2 mois il y a | 0

| A accepté

Charger plus