# Prachi Kulkarni

**Statistics**

**MATLAB Answers**

**0** Questions

**41** Answers

RANK**899**

of 281,647

REPUTATION**70**

CONTRIBUTIONS

**0** Questions

**41** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**5**

RANK

of 19,056

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 133,954

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**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)

1 year ago | 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 ...

1 year ago | 0

Complex valued signal labview

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

1 year ago | 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...

1 year ago | 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 ...

1 year ago | 0

| accepted

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

1 year ago | 0

| accepted

Find voulume of Tetrahedron

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

1 year ago | 1

| accepted

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

1 year ago | 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...

1 year ago | 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 ...

1 year ago | 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 ...

1 year ago | 0

| accepted

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

1 year ago | 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....

2 years ago | 0

Multiple t test in MATLAB

Hi, Please refer to the documentation and examples related to multcompare for multiple comparison tests.

2 years ago | 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...

2 years ago | 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...

2 years ago | 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...

2 years ago | 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*...

2 years ago | 0

| accepted

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

2 years ago | 1

| accepted

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

2 years ago | 1

| accepted

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

2 years ago | 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...

2 years ago | 0

| accepted

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

2 years ago | 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...

2 years ago | 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...

2 years ago | 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...

2 years ago | 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...

2 years ago | 0

categorizing tables after reading them.

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

2 years ago | 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 ...

2 years ago | 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...

2 years ago | 0

| accepted