回答済み

Principal axis + phase and inclination.

@Claudio Iturra, I assume you want to do a best-fit ellipse to the wind data. Here is a link to my notes on how to find the bes...

Principal axis + phase and inclination.

@Claudio Iturra, I assume you want to do a best-fit ellipse to the wind data. Here is a link to my notes on how to find the bes...

約2ヶ月 前 | 0

質問

copy subplots within same figure

I am copying subplots within a figure, to show the same data with an expaned time base. As you can see from the example below...

約2ヶ月 前 | 2 件の回答 | 0

質問

plot legend shows wrong linespec

Starting with no open figures, and some data already computed, I made a plot as follows: load('data') % I did not use this com...

2ヶ月 前 | 2 件の回答 | 0

回答済み

I want to optimize an ODE system of equations with constraints

@naiva saeedia, You stated goals such as Mass_C4_G-0.2985<0.1 I assume you really would like abs(Mass_C4_G-0.2985)<0. and ...

I want to optimize an ODE system of equations with constraints

@naiva saeedia, You stated goals such as Mass_C4_G-0.2985<0.1 I assume you really would like abs(Mass_C4_G-0.2985)<0. and ...

2ヶ月 前 | 0

回答済み

Decrease Pattern antenna at certain azimuth.

[I will delete my comment, which I meant to be answer.] @Amer tawel, You cannot minimize the intensity in one direction witho...

Decrease Pattern antenna at certain azimuth.

[I will delete my comment, which I meant to be answer.] @Amer tawel, You cannot minimize the intensity in one direction witho...

3ヶ月 前 | 0

回答済み

Passing audio file through a notch filter transfer function

@Nathaniel, [edit: remove junk text at the end] lsim() wants the input to be the time domain signal. You are passing the frequ...

Passing audio file through a notch filter transfer function

@Nathaniel, [edit: remove junk text at the end] lsim() wants the input to be the time domain signal. You are passing the frequ...

3ヶ月 前 | 0

| 採用済み

回答済み

MATLAB code of intersection

@Liza L, what have you tried so far? The first part of your question, drawing the straight lines, shouldn't be too hard. Draw a...

MATLAB code of intersection

@Liza L, what have you tried so far? The first part of your question, drawing the straight lines, shouldn't be too hard. Draw a...

3ヶ月 前 | 0

回答済み

Global min optimisation for aorta 3-element windkessel model

@Hussam, Use fmincon(). I have used it to optimize a model of the circulation with up to 9 parameters, in order to match presu...

Global min optimisation for aorta 3-element windkessel model

@Hussam, Use fmincon(). I have used it to optimize a model of the circulation with up to 9 parameters, in order to match presu...

3ヶ月 前 | 0

| 採用済み

回答済み

Geoshow and grid points with polygonal shape

@Daniele, I recommend using meshgrid() to make the 2D mesh that covers and extends beyond the plygon of interest, the use resha...

Geoshow and grid points with polygonal shape

@Daniele, I recommend using meshgrid() to make the 2D mesh that covers and extends beyond the plygon of interest, the use resha...

3ヶ月 前 | 0

回答済み

Traslate in matlab equations of rotational displacement

@Ilary, The equations you have given are for a rigid body. If you are comfortable regarding the earth as a rigid body within a...

Traslate in matlab equations of rotational displacement

@Ilary, The equations you have given are for a rigid body. If you are comfortable regarding the earth as a rigid body within a...

3ヶ月 前 | 1

回答済み

Fill area between two lines

@Amélia, Since we do not have your data (xxO, envelopeminO, envelopesupO), I have made up some values to use for the example be...

Fill area between two lines

@Amélia, Since we do not have your data (xxO, envelopeminO, envelopesupO), I have made up some values to use for the example be...

3ヶ月 前 | 0

回答済み

Convert pixel/grayscale values to decibels

@ESTER LIMA, given two levels, PVmin and PVmax, whose values are proportional to the intensity of the ultrasound signal, the dec...

Convert pixel/grayscale values to decibels

@ESTER LIMA, given two levels, PVmin and PVmax, whose values are proportional to the intensity of the ultrasound signal, the dec...

4ヶ月 前 | 0

回答済み

Enhancing Embolic Signal Visualization in Transcranial Doppler Graphs

@Patrícia, Please upload data files that go with the two screenshot images which show possible emboli. Adjust the color scale...

Enhancing Embolic Signal Visualization in Transcranial Doppler Graphs

@Patrícia, Please upload data files that go with the two screenshot images which show possible emboli. Adjust the color scale...

4ヶ月 前 | 1

| 採用済み

回答済み

I need to call up a vertex from polyshape command

@Bruce Griffin If you have a polygon pgon, of unknown size, get the number of vertices: pgon=polyshape(cosd(0:40:320),sind(0:4...

I need to call up a vertex from polyshape command

@Bruce Griffin If you have a polygon pgon, of unknown size, get the number of vertices: pgon=polyshape(cosd(0:40:320),sind(0:4...

4ヶ月 前 | 0

| 採用済み

回答済み

HEART RATE from heart sound

@Monday David, If you attach the MP3 file, others can run your code. You will have to zip it first. [Edit: The sounds which ar...

HEART RATE from heart sound

@Monday David, If you attach the MP3 file, others can run your code. You will have to zip it first. [Edit: The sounds which ar...

4ヶ月 前 | 0

回答済み

How can I Plot eigenvectors of a graph on the graph as bars coming out of vertices?

@Defne Odabasi, You can plot arrows representing a 2D eigenvectors, at specific locations, with quiver(X,Y,U,V), where X and Y ...

How can I Plot eigenvectors of a graph on the graph as bars coming out of vertices?

@Defne Odabasi, You can plot arrows representing a 2D eigenvectors, at specific locations, with quiver(X,Y,U,V), where X and Y ...

4ヶ月 前 | 2

| 採用済み

回答済み

Determining the input from the output using IFFT

@Ganesh Prasad, Here is a script that does the deconvolution in the frequency domain, using the ideas in my comment above. It a...

Determining the input from the output using IFFT

@Ganesh Prasad, Here is a script that does the deconvolution in the frequency domain, using the ideas in my comment above. It a...

4ヶ月 前 | 0

| 採用済み

回答済み

Having trouble with lsqcurvefit for a heat transfer experiment.

@Nate, The plot below shows the measured data (red *), and the predicted temperature profile with h=150, 2000, and -4000. It s...

Having trouble with lsqcurvefit for a heat transfer experiment.

@Nate, The plot below shows the measured data (red *), and the predicted temperature profile with h=150, 2000, and -4000. It s...

4ヶ月 前 | 0

回答済み

Method used by fitnlm to estimate coefficients

@Alex, By default, fitnlm() minimizes the sum squared error. It uses the Levenberg-Marquardt algorithm to find its way downhil...

Method used by fitnlm to estimate coefficients

@Alex, By default, fitnlm() minimizes the sum squared error. It uses the Levenberg-Marquardt algorithm to find its way downhil...

4ヶ月 前 | 0

| 採用済み

回答済み

implicit numerical method: 1-D unsteady state heat transfer using finite difference method

@Joydeep Bagchi, I think you need to divide the long term (u(i+1,n)-2*u(i,n)+...) by 2, on the right side of your Crank-Nicolso...

implicit numerical method: 1-D unsteady state heat transfer using finite difference method

@Joydeep Bagchi, I think you need to divide the long term (u(i+1,n)-2*u(i,n)+...) by 2, on the right side of your Crank-Nicolso...

4ヶ月 前 | 0

回答済み

Interpolating data to get values at specific depth

@Luís Henrique Bordin, x=(0:10); y=(0:11)'; z=[1.0, 2.3, 5.6, 8.3]; % vectors x,y,z [X,Y]=meshgrid(x,y); %Make data() with de...

Interpolating data to get values at specific depth

@Luís Henrique Bordin, x=(0:10); y=(0:11)'; z=[1.0, 2.3, 5.6, 8.3]; % vectors x,y,z [X,Y]=meshgrid(x,y); %Make data() with de...

4ヶ月 前 | 1

回答済み

How to find out the amplitude and duration of a sine wave of different amplitudes?

@A Lumbini, If you must use wavelets, do a continuous wavelet transform (cwt). THe Matlab documentation is good. Make a 50 Hz s...

How to find out the amplitude and duration of a sine wave of different amplitudes?

@A Lumbini, If you must use wavelets, do a continuous wavelet transform (cwt). THe Matlab documentation is good. Make a 50 Hz s...

4ヶ月 前 | 0

回答済み

How to find out the amplitude and duration of a sine wave of different amplitudes?

@aswathy, @A Lumbini, I would not use wavelets. , I would use stft(). Make a signal which is 3 seconds long. The frequency is ...

How to find out the amplitude and duration of a sine wave of different amplitudes?

@aswathy, @A Lumbini, I would not use wavelets. , I would use stft(). Make a signal which is 3 seconds long. The frequency is ...

4ヶ月 前 | 0

回答済み

Which optimization tool should be used for solving my convex optimization problem?

@KAGANA SARATH, I agree with @Torsten: try fmincon. It allows you to specify linear and nonlinear equality constraints and ine...

Which optimization tool should be used for solving my convex optimization problem?

@KAGANA SARATH, I agree with @Torsten: try fmincon. It allows you to specify linear and nonlinear equality constraints and ine...

4ヶ月 前 | 0

回答済み

Plot the first-order autocorrelation functions for the following light sources: perfect monochromatic source, a thermal lamp((Lc=1 μm, a led =100 μm), lasersLc=1 m and 1 km

@OMEIR HUSSAIN, [Edit: fix spelling errors.] You can format your code as code, by highlighting your code, then click the "Code...

Plot the first-order autocorrelation functions for the following light sources: perfect monochromatic source, a thermal lamp((Lc=1 μm, a led =100 μm), lasersLc=1 m and 1 km

@OMEIR HUSSAIN, [Edit: fix spelling errors.] You can format your code as code, by highlighting your code, then click the "Code...

4ヶ月 前 | 0

回答済み

Box plot function help

@Benjamin Wilson, Others cannot run the code you supplied, since we don;t have singlepricingprogrammenew(), and I'm not suggest...

Box plot function help

@Benjamin Wilson, Others cannot run the code you supplied, since we don;t have singlepricingprogrammenew(), and I'm not suggest...

4ヶ月 前 | 0

回答済み

Sharpe ratio in Report

@jorge cogno, [edit: the 0 in the equation below is for the risk free rate] "RiskFreeRate=0 TotalReturn=0.22943, SharpeRatio=0...

Sharpe ratio in Report

@jorge cogno, [edit: the 0 in the equation below is for the risk free rate] "RiskFreeRate=0 TotalReturn=0.22943, SharpeRatio=0...

4ヶ月 前 | 0

回答済み

how can I create a simple clutter model?

@Kerem Yüksel, [edit: fix spelling errors] [Edit 2: My initial implementation had an exponential distribution of clutter radi...

how can I create a simple clutter model?

@Kerem Yüksel, [edit: fix spelling errors] [Edit 2: My initial implementation had an exponential distribution of clutter radi...

4ヶ月 前 | 0

| 採用済み

回答済み

How do I find the most stable N consecutive numbers?

@Ali Almakhmari, How about this: x=rand(1,2500); n=50; stdx=zeros(1,length(x)-n+1); % allocate array for stdev(x(i:i+49)) f...

How do I find the most stable N consecutive numbers?

@Ali Almakhmari, How about this: x=rand(1,2500); n=50; stdx=zeros(1,length(x)-n+1); % allocate array for stdev(x(i:i+49)) f...

4ヶ月 前 | 0

| 採用済み

回答済み

Comparing Finite difference method answer with analytical for 2d plate heat transfer

@Christopher, [Edit: add a line of code to display the maximum temperature for each value of N.] Another excellent answer fro...

Comparing Finite difference method answer with analytical for 2d plate heat transfer

@Christopher, [Edit: add a line of code to display the maximum temperature for each value of N.] Another excellent answer fro...

4ヶ月 前 | 0