Respondida
Which image processing or filtering is used in this image?
@burcu bilgic, it looks like the image on the right is the complement of the image on the left. J=imcomplement(I) From the hel...

más de 3 años hace | 0

| aceptada

Respondida
Align smartphone and vehicle using Acceleration and Orientation from Matlab Mobile
@David Stefan, Try the following for the rotation matrix R=: where [0.375561 -0.385512 0.023676]. The matrix Rxyz is de...

más de 3 años hace | 0

Respondida
Data treatment: How to use exponential regression types of functions to approximate to a specific model (tobler's hiking function)
@Rúben Ricardo, You have deltaLat(i,:)=(B(i+1,1)-B(i,1))*60*1852; % diferença das latitudes deltaLon(i,:)=(B(i+1,2)-B(i,2))*6...

más de 3 años hace | 1

| aceptada

Respondida
Align smartphone and vehicle using Acceleration and Orientation from Matlab Mobile
@David Stefan, The information provided is not sufficient to determine the rotation matrix. Also, the data you gave is not con...

más de 3 años hace | 0

Respondida
Plotting Wing Surface Through a Grid Point
@Fabio Taccaliti, [edit - fix typo in comment - misspelled Joukowsky] Here is a simple and elegant way to generate a wing prof...

más de 3 años hace | 0

Respondida
Plotting Wing Surface Through a Grid Point
@Fabio Taccaliti, I do not understand what is wrong with the final image generated by your code. It looks good to me. The on...

más de 3 años hace | 0

Respondida
How to calculate angle between two vectors?
@Ors, My comment above was intended to be an answer. Please accept this answer if it is satisfactory. Here is some code. F=[-2...

más de 3 años hace | 1

| aceptada

Respondida
How do I plot the FFT of signal from accelerometer
@Harrison Osasogie Edokpolor, Try the code below. It makes the figure below. The figure shows that the oscullaiton frequency...

más de 3 años hace | 0

| aceptada

Respondida
How do I plot the FFT of signal from accelerometer
@Harrison Osasogie Edokpolor, Sampling rate is fs=833 Hz and there are N=1110 samples. (I deleted line 1 since it has only one...

más de 3 años hace | 0

Respondida
least square method with multible unkonwn
@Rolfe, I will look at this later this week, if you do not have an answer by then. Below is a part of an analysis I did related...

más de 3 años hace | 0

Respondida
Integration of the expected value
@Yuriy, I'm not sure I understand. Is a uniformly distributed random variable, or is the expected value of p, which is a unif...

más de 3 años hace | 0

Respondida
Periodic input to ODE solver
@Eric Scott, Create a smooth pulsatile input signal with a specified non-zero duration. Add it to your ODE. For example, consi...

más de 3 años hace | 0

| aceptada

Respondida
Quadratic extrapolation on a dataset
@Aristo, Yes it is possible. Three points define a quadratic equation. The quadratic equation that passes through (x1,y1), (x...

más de 3 años hace | 0

Respondida
Find out whether a 2D line (y = a*x + b) intersects with a square without using "solve" (I need something faster)
@Perico Nasdemico, If the slope, a, is positive, then, if there is an intersection, the line passes below or through the upper ...

más de 3 años hace | 1

Respondida
How can I plot x and y RGB values of an image to analyze?
@omar soufan, Try the following: im1=imread('knifetest1.jpg'); zr=im1(:,:,1); %get the red intensity array zg=im1(:...

más de 3 años hace | 0

| aceptada

Respondida
How to plot desired datapoints on a curve?
@ekagra gupta, You must have a vector that (58 x 1), which accompanies yhat (58 x 1). Let us create vectors to use as examples...

más de 3 años hace | 0

| aceptada

Respondida
How to use locminima in a signal with nan values?
@Tomaszzz, Here is the script I usd to make the figure I showed in my comment. It makes two plots, samples of which are below. ...

más de 3 años hace | 1

| aceptada

Respondida
With PCA, how much of the photo did i compress?
@ali yaman, The attached script applies PCA image compression to image ben.jpg. It reconstructs the image with 10 principal com...

más de 3 años hace | 1

Respondida
How to apply butterworth filter to data in cells? filter went wrong
@Tomaszzz, You're welcome. Good lcuk with your research.

más de 3 años hace | 0

Respondida
With PCA, how much of the photo did i compress?
@ali yaman, The percent compression is (Au-Ac)/Au, where Au= the amount of information needed to generate the uncompressed imag...

más de 3 años hace | 0

| aceptada

Respondida
How do I translate a variable into HSV color values?
@Shovnik Paul, Vmax=5; while true voltage = a.readVoltage('A0'); color = hsv2rgb(voltage/Vmax,1,1); fill([0 1 1...

más de 3 años hace | 1

| aceptada

Respondida
How to apply butterworth filter to data in cells? filter went wrong
@Tomaszzz, This appears to be a record of vertical ground reaction force for 7 steps on an instrumented treadmill, from a subje...

más de 3 años hace | 1

| aceptada

Respondida
Linear best fit model
@Aniruddha Das Here is an example in which the fixed slope is 1.3 and the best fit slope is approximately 1.0. x=0:1:100; N=l...

más de 3 años hace | 0

Respondida
Only required the mean value out rather then every single value in a data
@muhammad choudhry, I assume your desired output has N rows by 182 columns, where N=floor(1639/7)=234. num=xlsread('Required_A...

más de 3 años hace | 1

| aceptada

Respondida
Markov chain modeling of multipath propagation
@demos serghiou, I recommend reading papers on the use and estimation of Markov models for multipath propagation. When you hav...

más de 3 años hace | 1

Respondida
Trying to access individual columns in a map container that has 41 markers, each with an XYZ point.
@maura belcher, I have never heard of or worked with map containers, but I can see they could be useful in this situaiton if we...

más de 3 años hace | 1

| aceptada

Respondida
How can I get the FFT of a flat signal with a peak?
@Leonardo Molino, You are correct to have doubts about the interpretation of the FFT of dE(t), given that dE(t) is computed the...

más de 3 años hace | 1

| aceptada

Respondida
Sigmoid function shaping and fitting by curve-fitting toolbox
@Batuhan, A fairly general sigmoid curve can be expressed with four parameters: ymin, ymax, x0, and slope (dy/dx) at x0. The w...

más de 3 años hace | 2

| aceptada

Respondida
It is possible to know how meshgrid organize the points?
@Bárbara Matos, I think the following code illustrates how the points returned by sphere() are arranged. See comments below. [...

más de 3 años hace | 0

| aceptada

Respondida
ODE45: Solving a system of ODEs, except one of the equations changes based on certain parameters. How can I code this?
@Josh Ciesar, Is pressure, p, a state variable, given by a first order differential equation, or is it an instantaneous function...

más de 3 años hace | 1

Cargar más