Community Profile

photo

Prachi Kulkarni

Last seen: 2 days ago Active since 2021

Statistics

  • Knowledgeable Level 3
  • 6 Month Streak
  • Revival Level 2
  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

| accepted

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

2 years ago | 0

| accepted

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

2 years ago | 1

| accepted

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

2 years ago | 1

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

| accepted

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

2 years ago | 0

Answered
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

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

2 years ago | 0

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Load more