Respondida
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...

alrededor de 3 años hace | 0

Respondida
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...

alrededor de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

Respondida
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

más de 3 años hace | 0

| aceptada

Respondida
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...

más de 3 años hace | 0

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

más de 3 años hace | 0

Respondida
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

más de 3 años hace | 0

Respondida
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 ...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

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

más de 3 años hace | 0

| aceptada

Respondida
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

más de 3 años hace | 0

Respondida
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 ...

más de 3 años hace | 0

Respondida
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 ...

más de 3 años hace | 0

Respondida
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 ...

más de 3 años hace | 1

| aceptada

Respondida
无法检索产品 CAN NOT RETRIEVE PRODUCT
Please refer to this link

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

| aceptada

Respondida
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

más de 3 años hace | 0

| aceptada

Respondida
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...

más de 3 años hace | 0

Respondida
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

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

| aceptada

Respondida
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(...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 1

Respondida
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...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

| aceptada

Respondida
Reading .gz file
For unzipping a .gz file, gunzip function can be used

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

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

más de 3 años hace | 0

| aceptada

Respondida
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...

más de 3 años hace | 1

Cargar más