Community Profile

# Prachi Kulkarni

Last seen: 4 months 前 自 2021 起处于活动状态

#### Content Feed

How do I write this integral?
Hi, You can write the integral as follows. fun = @(x) 13*exp(-((x-pi)/0.0003).^2); q = integral(fun,0,2*pi)

10 months 前 | 0

K-means clustering to generate probability maps
Hi, You can create the M matrix as specified in the problem with the following starter code. You may have to manually reassign ...

10 months 前 | 0

Complex valued signal simulation
Hi, The function xcorr supports complex numbers as well. You can use it as it is for complex signals too.

10 months 前 | 0

Appending Voxel Intensity with the Voxel Co-ordinates and Plotting ?
Hi, You can use the location and intensity information to create and display a point cloud. load img_64_chest.mat img load vo...

10 months 前 | 0

Solve symbolic equation by comparing coefficients
Hi, For a given example expression of the form a*x + y*(b + c*x), you can get the coefficients d and e of the reduced forms as ...

10 months 前 | 0

| 已接受

Unable to convert expression into double array.
Hi, You haven’t substituted the symbol w with any value. That is why the substitution cannot generate a numeric value. Small ...

10 months 前 | 0

| 已接受

Find voulume of Tetrahedron
Hi, You can use the following code to compute the volume of the tetrahedron using triple integration. intercepts = input("For ...

11 months 前 | 1

| 已接受

Normalize hyperspectral image using a target/reference
Hi, If you want to normalize all the data in the hyperspectral image, such that- the minimum of the normalized hyperspectral i...

11 months 前 | 1

Using fftn to filter 4D image (3D video)
Hi, Let the array arr be of size h-by-w-by-d-by-t. The filtered_video should be trimmed as follows to get the same output as g...

11 months 前 | 0

How to plot graph?
Hi, If you want the plots for each timepoint in separate figures, you can use the following code. r_range = 0:delta_r:1; for ...

11 months 前 | 0

Multiple softmax vectors in output layer of neural network using softmaxLayer
Hi, From the R2021b release onwards, you can create numInputs number of fully connected layers, each with output size 8. Every ...

11 months 前 | 0

| 已接受

getting double plots in single
Hi, If Ex and Ey are the X and Y components and you want to compute the magnitude and phase, you can make some minor changes to...

11 months 前 | 0

After running the code, the arrays that should have the calculated values for all the rows are still empty?
Hi, Here is a slight modification of your code that can help. Hi, Here is a slight modification of your code that can help....

1 year 前 | 0

Multiple t test in MATLAB
Hi, Please refer to the documentation and examples related to multcompare for multiple comparison tests.

1 year 前 | 0

Multiscale dilation:structure unit does not change after imdilate by itself. What the multiscale dilation meaning?
Hi, As per the definition of dilation described at the end of the documentation on imdilate, the structural element g when oper...

1 year 前 | 0

Extract k-space from nifti image
Hi, You can use the niftiread function to read the MRI volumetric data from a NIfTI file. If the volume is in spatiotemporal...

1 year 前 | 0

CT Scan slices to Neural Network
Hi, You can specify the labels manually using the Labels property of the image datastore. For more information, please refer t...

1 year 前 | 0

Overlay statistical info on MR data
Hi, For the code snippet you have provided, here are some modifications that will work. % Create contrived image img = 1500*...

1 year 前 | 0

| 已接受

How to properly detect the edges of the rail surface for cropping?
Hi, As I mentioned before, there are indeed many different approaches that can be taken to find the edges. Using the color info...

1 year 前 | 1

| 已接受

How to integrate the discrete data?
Hi, Integration is equivalent to summation in the discrete domain. So, if P is your NxM power matrix, you can compute the total...

1 year 前 | 1

| 已接受

How to properly detect the edges of the rail surface for cropping?
Hi, There can be many possible approaches to identifying the edges. One possible way would be to look at the image in HSV color...

1 year 前 | 0

I have two variables that I need to loop over calculations to find the best combination
Hi, In the code you have provided, the same variable kk is being used to loop over both the variable arrays p_ratio_array and p...

1 year 前 | 0

| 已接受

Code for a picture to apply filters in frequency domain to it.
Hi, Please refer to the following example for a sample code. I = imread("cameraman.tif"); % image of size 256x256 I = im2doub...

1 year 前 | 1

what are the principle components of my model
Hi, The PCA option in the Classification Learner app, uses the pca function. Let your data matrix be called data. You can inse...

1 year 前 | 0

Why is wvd output time vector twice the size of the input
Hi, The output time vector tOut of the wvd function is twice the size of the input because the default value for the NumTimePoi...

1 year 前 | 0

Can I do Independent component analysis with just one row of data which is a mixture of two source signals?
Hi, Please refer to the following resource about performing independent component analysis. https://www.mathworks.com/matlabc...

1 year 前 | 0

How do I simulate Bernoulli observations?
Hi, You can generate the Bernoulli observation and get the statistics as follows. n = 1000; p = 0.2; data = binornd(1,p,n,1...

1 year 前 | 0

Hi, If you initially have all the data in a table T and HOUR is one the variables in table T, you can create separate tables de...

1 year 前 | 0

save data in matrix after improfile
Hi, In the code snippet you have provided, the pixel values are sampled along only one line segment in image I. The endpoints ...

1 year 前 | 0

Adding a secondary x axis on the top of a line plot
Hi, Following is a modified version of your code which will give you the secondary X axis at the top of the plot with an xlabel...

1 year 前 | 0

| 已接受