Community Profile

# Prachi Kulkarni

Last seen: 4 mesi fa Attivo dal 2021

#### Content Feed

Visto da

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 0

| accettato

Risposto
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 mesi fa | 0

| accettato

Risposto
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 mesi fa | 1

| accettato

Risposto
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 mesi fa | 1

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 0

| accettato

Risposto
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 mesi fa | 0

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

12 mesi fa | 0

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

12 mesi fa | 0

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

12 mesi fa | 0

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

circa un anno fa | 0

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

circa un anno fa | 0

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

circa un anno fa | 0

| accettato

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

circa un anno fa | 1

| accettato

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

circa un anno fa | 1

| accettato

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

circa un anno fa | 0

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

circa un anno fa | 0

| accettato

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

circa un anno fa | 1

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

circa un anno fa | 0

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

circa un anno fa | 0

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

circa un anno fa | 0

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

circa un anno fa | 0

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

circa un anno fa | 0

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

circa un anno fa | 0

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

circa un anno fa | 0

| accettato