Solved

QWERTY coordinates

Given a lowercase letter or a digit as input, return the row where that letter appears on a <http://en.wikipedia.org/wiki/Keyboa...

fast 6 Jahre ago

Answered

How can I overlay a google earth image with a quiver plot?

If you have a map image of your area of interest, you could plot and scale the map coordinates using the |<http://www.mathworks....

How can I overlay a google earth image with a quiver plot?

If you have a map image of your area of interest, you could plot and scale the map coordinates using the |<http://www.mathworks....

fast 6 Jahre ago | 1

| accepted

Answered

dB scale (log scale) of a polar plot graph

You can simply convert the results directly to the decibels scale and plot the transformed results using the |polar| function. I...

dB scale (log scale) of a polar plot graph

You can simply convert the results directly to the decibels scale and plot the transformed results using the |polar| function. I...

fast 6 Jahre ago | 0

Answered

FFT Power units for a time series?

Commonly, you can express the y-axis units in terms of power/frequency. If you use the logarithmic decibel scale, the units of y...

FFT Power units for a time series?

Commonly, you can express the y-axis units in terms of power/frequency. If you use the logarithmic decibel scale, the units of y...

fast 6 Jahre ago | 0

Answered

FPLOT, how to define step size along X-axis?

To define your own points, you could just use the |<http://www.mathworks.com/help/matlab/ref/feval.html feval>| function. You co...

FPLOT, how to define step size along X-axis?

To define your own points, you could just use the |<http://www.mathworks.com/help/matlab/ref/feval.html feval>| function. You co...

fast 6 Jahre ago | 2

| accepted

Answered

Solving for unknown iteratively, guess and check

Perhaps a better way of formulating the problem is to solve for the zeros of the nonlinear function. F - a*(b*sqrt(c*(1 - x/d...

Solving for unknown iteratively, guess and check

Perhaps a better way of formulating the problem is to solve for the zeros of the nonlinear function. F - a*(b*sqrt(c*(1 - x/d...

fast 6 Jahre ago | 0

Answered

Plotyy Display Gridlines Axis

You can select the second axis handle for the data plotted with respect to the right y-axis. If you define an output for the |pl...

Plotyy Display Gridlines Axis

You can select the second axis handle for the data plotted with respect to the right y-axis. If you define an output for the |pl...

fast 6 Jahre ago | 1

| accepted

Answered

How can I use MATLAB in image processing?

You can start here: <http://www.mathworks.com/products/image/examples.html>

How can I use MATLAB in image processing?

You can start here: <http://www.mathworks.com/products/image/examples.html>

fast 6 Jahre ago | 0

Answered

How count pulse when go up in simulink?

One potential method for counting pulses is to use the <http://www.mathworks.com/help/simulink/slref/detectincrease.html Detect ...

How count pulse when go up in simulink?

One potential method for counting pulses is to use the <http://www.mathworks.com/help/simulink/slref/detectincrease.html Detect ...

fast 6 Jahre ago | 1

| accepted

Answered

How can I convert a transfer function into time dependent using ilaplace

The |<http://www.mathworks.com/help/symbolic/ilaplace.html ilaplace>| function works on *symbolic expressions* and not transfer ...

How can I convert a transfer function into time dependent using ilaplace

The |<http://www.mathworks.com/help/symbolic/ilaplace.html ilaplace>| function works on *symbolic expressions* and not transfer ...

fast 6 Jahre ago | 0

Answered

Plotting temperature contours from txt file

To help you get started, I found some examples in the documentation about interpolation of data using the |scatteredInterpolant|...

Plotting temperature contours from txt file

To help you get started, I found some examples in the documentation about interpolation of data using the |scatteredInterpolant|...

fast 6 Jahre ago | 0

Answered

How can I generate probabilities from a logistic regression?

If you have the Statistics Toolbox, you can fit a logistic regression with |mnrfit| function and then estimate probabilities usi...

How can I generate probabilities from a logistic regression?

If you have the Statistics Toolbox, you can fit a logistic regression with |mnrfit| function and then estimate probabilities usi...

fast 6 Jahre ago | 0

Answered

how to simulate a markov chain?

From what I gather from you description, this question has already been answered: <http://www.mathworks.com/matlabcentral/ans...

how to simulate a markov chain?

From what I gather from you description, this question has already been answered: <http://www.mathworks.com/matlabcentral/ans...

fast 6 Jahre ago | 0

Answered

How to Mask the Area other than sky?

One potential method for masking the building in your image is to detect the building edges via the |edge| function. Once you ha...

How to Mask the Area other than sky?

One potential method for masking the building in your image is to detect the building edges via the |edge| function. Once you ha...

fast 6 Jahre ago | 0

Answered

Is there a matlab function that calculates joint probability for more than 2 random variables ("histc" for more than 3 rvs)?

If you are dealing with discrete random variables, you really only need to use the |accumarray| function. Here is an example...

Is there a matlab function that calculates joint probability for more than 2 random variables ("histc" for more than 3 rvs)?

If you are dealing with discrete random variables, you really only need to use the |accumarray| function. Here is an example...

fast 6 Jahre ago | 0

| accepted

Answered

Plotting time-course of matrix entries

Extra credit time! Depending on how you want to ultimately display your results, you have quite a few options. For a quick and d...

Plotting time-course of matrix entries

Extra credit time! Depending on how you want to ultimately display your results, you have quite a few options. For a quick and d...

fast 6 Jahre ago | 0

| accepted

Answered

Normalized distribution for histogram

If you have the Statistics Toolbox, you might find the |dfittool| distribution fitting tool quite useful. doc dfittool I...

Normalized distribution for histogram

If you have the Statistics Toolbox, you might find the |dfittool| distribution fitting tool quite useful. doc dfittool I...

fast 6 Jahre ago | 1

| accepted

Answered

How can i get the surface plot of 3 variables

You could use the |plot3| command to visualize the data that you have as a single line in 3d space. To use the |surf| or |mes...

How can i get the surface plot of 3 variables

You could use the |plot3| command to visualize the data that you have as a single line in 3d space. To use the |surf| or |mes...

fast 6 Jahre ago | 0

Answered

How to plot the frequency spectrum in simulink

By default, the "Power Spectral Density" (PSD) block is set to have a sample time of Ts = 0.1 seconds. You should open the PSD b...

How to plot the frequency spectrum in simulink

By default, the "Power Spectral Density" (PSD) block is set to have a sample time of Ts = 0.1 seconds. You should open the PSD b...

fast 6 Jahre ago | 1

| accepted

Answered

Test trained NARX neural network with new external input

Here is an example from the Neural Network toolbox documentation that you might find helpful: * <http://www.mathworks.com/hel...

Test trained NARX neural network with new external input

Here is an example from the Neural Network toolbox documentation that you might find helpful: * <http://www.mathworks.com/hel...

fast 6 Jahre ago | 0

Answered

Undefined function or method 'markers2' for input arguments of type 'double'

You're calling a function, |markers2|. Since this is not a standard MATLAB function, you should have a file in your directory na...

Undefined function or method 'markers2' for input arguments of type 'double'

You're calling a function, |markers2|. Since this is not a standard MATLAB function, you should have a file in your directory na...

fast 6 Jahre ago | 0

| accepted

Answered

read .img format image without header file

You could directly read the *.img file directly into the MATLAB workspace via the |fopen| and |fread| commands. Since you do not...

read .img format image without header file

You could directly read the *.img file directly into the MATLAB workspace via the |fopen| and |fread| commands. Since you do not...

fast 6 Jahre ago | 0

Answered

How to choose initial component parameters with gmdistribution.fit ?

Once you have clustered your data via the k-means algorithm, you can definitely use the cluster centers as initial conditions fo...

How to choose initial component parameters with gmdistribution.fit ?

Once you have clustered your data via the k-means algorithm, you can definitely use the cluster centers as initial conditions fo...

fast 6 Jahre ago | 2

| accepted

Answered

what is the default amplitude value of the input signal when matlab gives the frequency response with fuction bode ?

Good question! The magnitude Bode plot depicts only the *relative gain* between two signals. Likewise, the phase plot gives you ...

what is the default amplitude value of the input signal when matlab gives the frequency response with fuction bode ?

Good question! The magnitude Bode plot depicts only the *relative gain* between two signals. Likewise, the phase plot gives you ...

fast 6 Jahre ago | 0

Answered

Handwritten digit recognition using Neural networks; How to configure for 2-D input?

Specifying an image as a column vector does not eliminate the adjacency information. As the column of pixels repeats at a regula...

Handwritten digit recognition using Neural networks; How to configure for 2-D input?

Specifying an image as a column vector does not eliminate the adjacency information. As the column of pixels repeats at a regula...

fast 6 Jahre ago | 0

| accepted

Answered

How to use the trained network to predict future values?

Once you have trained a network, you can use your net as a function. In your case, the outputs of the neural network could be fo...

How to use the trained network to predict future values?

Once you have trained a network, you can use your net as a function. In your case, the outputs of the neural network could be fo...

fast 6 Jahre ago | 0

Answered

Show value on the root locus plot without using the Data Cursor

The |rlocus| function can output the complex root locations and the corresponding gains. You can manually plot these values to r...

Show value on the root locus plot without using the Data Cursor

The |rlocus| function can output the complex root locations and the corresponding gains. You can manually plot these values to r...

fast 6 Jahre ago | 0

| accepted

Answered

PNG and BMP images with imag(image) = 0. Why and how do I get something that makes sense/a nonzero answer?

You are using the |imag| function that returns the imaginary part of the function input. The function input in your case will ha...

PNG and BMP images with imag(image) = 0. Why and how do I get something that makes sense/a nonzero answer?

You are using the |imag| function that returns the imaginary part of the function input. The function input in your case will ha...

fast 6 Jahre ago | 1

Answered

Show Step Response Information on Step Response Plot

You're on the right track trying to use |stepinfo|. The |stepinfo| function returns a structure containing all the common step r...

Show Step Response Information on Step Response Plot

You're on the right track trying to use |stepinfo|. The |stepinfo| function returns a structure containing all the common step r...

fast 6 Jahre ago | 2

| accepted

Answered

How to not draw some points of an interval( hmax and hmin )

You can use logical indexing to remove any values greater than and less than the desired bounds. % Defining some arbitrary ...

How to not draw some points of an interval( hmax and hmin )

You can use logical indexing to remove any values greater than and less than the desired bounds. % Defining some arbitrary ...

fast 6 Jahre ago | 0