已回答
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...

4 years 前 | 0

已回答
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...

4 years 前 | 0

已回答
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...

4 years 前 | 0

已回答
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

4 years 前 | 0

| 已接受

已回答
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...

4 years 前 | 0

已回答
Applying a lowpass filter to a square wave
For implementing an ideal low pass filter, you can refer to this link

4 years 前 | 0

已回答
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

4 years 前 | 0

已回答
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 ...

4 years 前 | 0

已回答
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...

4 years 前 | 0

已回答
How to plot the Tsiolkovsky rocket equation for a multi stage rocket
Please refer top this link for reference

4 years 前 | 0

| 已接受

已回答
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

4 years 前 | 0

已回答
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 ...

4 years 前 | 0

已回答
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 ...

4 years 前 | 0

已回答
syntax for updating values using webwrite
To make a POST request with request body, send() can be used, with the "Request Body" parameters passed in the body property of ...

4 years 前 | 1

| 已接受

已回答
无法检索产品 CAN NOT RETRIEVE PRODUCT
Please refer to this link

4 years 前 | 0

已回答
Determine the extreme values for the function f(x)
To determine the extrema, optimization toolbox can be used . For example %% Finding local minima in [0,4] using fminbnd minima...

4 years 前 | 0

已回答
convert a pixel intensity of gray-scale image to 1D type Signal
The algorithm for converting RGB values to Intensity values is This algorithm converts a n-by-1-by-3 vector into a n-by-1 ve...

4 years 前 | 0

| 已接受

已回答
PSF (Motion blur) from the blurred and sharp (or deblurred) image pair.
In frequency domain, PSF can be calculated as fft(blurred)/fft(original). Additional information can be found at this link

4 years 前 | 0

| 已接受

已回答
How can I use symsum function to calculate this equation?
%% Define constants syms n phi lambda; beta_alpha = 1.2*pi; epsilon0 = 1; %% Epsilon when n=0 epsilon = 2; %% Epsilon when...

4 years 前 | 0

已回答
How to generate a matrix in simulink
MATLAB function block can be used to generate a matrix from existing parameters. Additional documentaion can be found here

4 years 前 | 0

已回答
Climbing Power Equation: how to make a calculation into usable code
To calculate the first derivative of a particular vector X, the syntax is diff(X,1) For the above equation, Pkm = diff(Pkmt,1...

4 years 前 | 0

| 已接受

已回答
Calculating integration limits of a double integral
For computing the numerical approximation of the above double integral %% Define the major and minor axis of ellipse a = sqrt(...

4 years 前 | 0

已回答
need plotting help with matrix and loops
Minor refactoring of the above code close all clc clf %%Clear the figure window addpath c:\antennas\ewa; l=.68; a=(.00002...

4 years 前 | 1

已回答
How to represent a complex function in modulo
Intuitively speaking, at line no. 9 stems(abs(c)); is 0 everywhere except at = 0 . = inf . = for all values of Hence a...

4 years 前 | 0

已回答
x(t)=log(8)[t+Π(t)], t=[1e-4, 10]
% Vector to define t t = [1e-4:0.001:10]; % product of all time instances prod_t = prod(t); % x(t) x = log(8)*(t+prod_t...

4 years 前 | 0

| 已接受

已回答
Reading .gz file
For unzipping a .gz file, gunzip function can be used

4 years 前 | 0

已回答
Loading a MAT file gives "Cannot read file", yet sucessfuly loads data into memory.
There could be a possibility of the file being corrupted. For further analysis, you can use the MATCAT tool , which is available...

4 years 前 | 0

已回答
Using python function in matlab
The closing ) is missing in the above code. The correct code would be img, background = py.cv2_rolling_ball.subtract_background...

4 years 前 | 0

已回答
Curve variation and point detection
%% Location of first peak [pk1,loc1] = findpeaks(Signal, 'MinPeakHeight',0.15) %% Location of second peak subSignal = Signa...

4 years 前 | 0

| 已接受

已回答
Why does webread() fail to find my host?
webread() might not be able to process the CSV file, directed by the URL. A possible workaround could be D = webread(url, 'tabl...

4 years 前 | 1

加载更多