Answered

How to plot a sphere using PLOTCUBE command?

A possible solution is as follows clf; figure hold on tic % Using spherical coordinates to plot the cubes for r = linspace...

How to plot a sphere using PLOTCUBE command?

A possible solution is as follows clf; figure hold on tic % Using spherical coordinates to plot the cubes for r = linspace...

1 year ago | 0

Answered

Power spectrum of an image

To plot the power spectrum of an image, periodogram can be used. An example usage I = imread('dummy.jpg'); % Plots the perio...

Power spectrum of an image

To plot the power spectrum of an image, periodogram can be used. An example usage I = imread('dummy.jpg'); % Plots the perio...

1 year ago | 0

Answered

PLotting Fibonacci Ratios against phi

Refactored version of your code % Ratio comparer% Phi = ((1 + sqrt(5))/2); GR = 1; i = 1; error =abs(Phi-GR) % Initialize t...

PLotting Fibonacci Ratios against phi

Refactored version of your code % Ratio comparer% Phi = ((1 + sqrt(5))/2); GR = 1; i = 1; error =abs(Phi-GR) % Initialize t...

1 year ago | 0

Answered

Red border on some blocks and signals

There could be a possibility that Sample Time Colors information overlay has been enabled for the above model. Additional doc...

Red border on some blocks and signals

There could be a possibility that Sample Time Colors information overlay has been enabled for the above model. Additional doc...

1 year ago | 0

Answered

How to transform multiple sets of coordinates in a csv file into a single shapefile

A possible workaround is as follows % Read the data from the csv file (exclude the header row) data = readcell("test.csv","Num...

How to transform multiple sets of coordinates in a csv file into a single shapefile

A possible workaround is as follows % Read the data from the csv file (exclude the header row) data = readcell("test.csv","Num...

1 year ago | 0

Answered

what formula is used by imadjust command for contrast enhancement

The source code for imadjust can be accessed using type imadjust or edit imadjust %% Do not edit the code

what formula is used by imadjust command for contrast enhancement

The source code for imadjust can be accessed using type imadjust or edit imadjust %% Do not edit the code

1 year ago | 0

| accepted

Answered

How do i binarize these two images to produce an as equal result as possible?

Since Image 2 is a horizontally shifted version of Image 1, a possible workaround could be as follows % Load the images to work...

How do i binarize these two images to produce an as equal result as possible?

Since Image 2 is a horizontally shifted version of Image 1, a possible workaround could be as follows % Load the images to work...

1 year ago | 0

Answered

Applying a lowpass filter to a square wave

For implementing an ideal low pass filter, you can refer to this link

Applying a lowpass filter to a square wave

For implementing an ideal low pass filter, you can refer to this link

1 year ago | 0

Answered

How to use simulink with an external fortran program using its own solver ?

For accessing external FORTRAN code from Simulink, you can refer to this link

How to use simulink with an external fortran program using its own solver ?

For accessing external FORTRAN code from Simulink, you can refer to this link

1 year ago | 0

Solved

Breaking Out of the Matrix

Do you want to take the Red Pill, or the Blue Pill? If you take the Blue Pill, you will simply pass along to the next problem...

1 year ago

Answered

Unable to link component

For connecting a physical signal to a Simulink block, PS-Simulink Convertor must be used For connecting a Simulink signal to a ...

Unable to link component

For connecting a physical signal to a Simulink block, PS-Simulink Convertor must be used For connecting a Simulink signal to a ...

1 year ago | 0

Answered

Averaging Intervals on a Graph

If only the starting and ending time stamp need to be selected, the following syntax needs to be used meanTriggBR = zeros(17, 1...

Averaging Intervals on a Graph

If only the starting and ending time stamp need to be selected, the following syntax needs to be used meanTriggBR = zeros(17, 1...

1 year ago | 0

Answered

How to plot the Tsiolkovsky rocket equation for a multi stage rocket

Please refer top this link for reference

How to plot the Tsiolkovsky rocket equation for a multi stage rocket

Please refer top this link for reference

1 year ago | 0

| accepted

Answered

Image analysis of irregular shape of binary image

To analyse the region of interest, Image Segmentation can be done. Image Segmentation tutorial can be found here

Image analysis of irregular shape of binary image

To analyse the region of interest, Image Segmentation can be done. Image Segmentation tutorial can be found here

1 year ago | 0

Answered

double integral and plot of physics function.

A plausible approach would be - Add Line no. 4 till the last line in a function function sigman = BerryCurve(x,y) %% All ...

double integral and plot of physics function.

A plausible approach would be - Add Line no. 4 till the last line in a function function sigman = BerryCurve(x,y) %% All ...

1 year ago | 0

Answered

PLY/ RGB to 2D Grayscale Image

Based on the above code, Image stores the Color Matrix of just the Red channel R, G, B refer to the values of first, second ...

PLY/ RGB to 2D Grayscale Image

Based on the above code, Image stores the Color Matrix of just the Red channel R, G, B refer to the values of first, second ...

1 year ago | 0