Answered
Inverse fourier transfer of cos function with time shift
Hi Matt, In the inverse transform you are still multiplying by 'dt' instead of the frequency increment 'dω'. In your code, y...

8 months ago | 0

| accepted

Answered
add_line connection for to column cells
Hi Tommy, The last cells are not connected as you want as shown in the image because you have not added it in your code. The ke...

8 months ago | 1

Answered
Multi-step prediction code construction
Hi Jingoo, Your final network layer is fullyConnectedLayer(17): That means each mini‐batch sample ends up being mapped to a 17...

8 months ago | 0

| accepted

Answered
Meshes: Build facets from edge and point information only
Hi Ziruela, To reconstruct face connectivity from a set of edges and nodes in MATLAB, you generally implement a graph or half‐e...

8 months ago | 0

Answered
Voxelise STL files using mesh voxelisation
Hi Zehra, You can voxelize an STL mesh at a fixed voxel size (e.g., 1 mm) using the “VOXELISE” function from the File Exchange....

8 months ago | 0

Answered
electric power 3 phase 230 V dataset analysis
Hi Jan, To analyze a dataset for 3 power system I have used a dummy data as your data had only 10 samples over 9 seconds. Here ...

8 months ago | 0

Answered
How i draw a cube with a Cut?
Hi, As you have not specified what kind cut you want, I assume you want a square cut in the centre of the top surface. Have a l...

11 months ago | 0

Answered
How do i compare graphs ( plots ).
Hi @Mitesh Bhavsar, Although visual inspection is the most straightforward way to compare the plots, but you can try the follo...

1 year ago | 0

Answered
convert java code to matlab code
Hi @nadia nadi, I can give guidelines on things to keep in mind while converting you code: In MATLAB, classes a...

1 year ago | 0

Answered
What is the difference between fitcsvm and svmtrain?
Hi, Please note that the ‘svmtrain’ function was used in order versions on MATLAB and was removed in R2019b, the fun...

1 year ago | 0

Answered
How to use addImageFeatures
Hi @圭介 川邉, You can set ‘SaveFeatureLocations’ to false as below: imageIndex = invertedImageIndex(bag,'SaveFeatureLocations',...

1 year ago | 0

Answered
How can I use the isocaps function or any other method to close the surfaces of a cylindrical gyroid?
Hi @CHEICK IBRAHIM, I ran your code that produces a gyroid using ‘isosurface’, the output looks like this: You c...

1 year ago | 0

| accepted

Answered
How can I transfer a compatibility matrix form excel ?
Hi Amor, You can simply use ‘readMatrix’ function and extract the relevant pairs where 1s appear as below: inputTable =...

1 year ago | 0

Answered
Retrieve the data set of out-of-bag.
Hi @秀和 髙橋 In MATLAB's ‘TreeBagger’, the out-of-bag (OOB) observations are automatically used for internal validation. Here is ...

1 year ago | 0

Answered
Declare C Array in C Function dependent on constant
Hi @Simon Hafner, You must load ‘LEN’ in the base workspace first, otherwise it will throw error. You can do this by simply wri...

1 year ago | 0

| accepted

Answered
How can I use deepNetworkQuantizer with my own data and network.
Hi @Haoming, The error message "numeric data not supported for validate" typically occurs when the validation data passed t...

1 year ago | 0

Answered
TreeBagger Training, large datasets
Hi @Claire Br, The ‘TreeBagger’ class in MATLAB does not natively support incremental learning, which means you can't directly ...

1 year ago | 0

Answered
I am doing CNN image classification, but i keep getting this error ; Error using trainNetwork Unexpected input size: All observations must have the same channel and spatial Di
Hi @Muhaimin, The error means that there might be inconsistencies in the dimensions or channels of the images within your‘imag...

1 year ago | 0

Answered
how to interpret training state plot
Hi @salah mahdi, 1. Mu (μ) Graph Frequent oscillations in ‘μ’ could suggest that the optimization is struggling to find a st...

1 year ago | 0

Answered
How to do mesh segmentation in Matlab
Hi @maho, To segment a mesh into coherent regions you can try one of these methods: 1. K-means clustering: Use the buil...

1 year ago | 0

Answered
How to make vectors A1, A2,... A127. Rolling time window.
Hi @Markus, It looks like you're trying to create a series of 127 time windows, each containing 150 monthly returns, based on ...

1 year ago | 0

Answered
Plotting with 3 variables
Hi @Pablo Cardenas, To create a displacement diagram with the given equation 2(sin(z)) + x(cos(z) = -y), we'll need to expr...

1 year ago | 0

Answered
How to achieve stacked bar graph with two 'y' values but same x axi
Hi @Jasmeet Singh, You just need to change order of bar plotting according to the values as I have shown in the modified part f...

1 year ago | 0

Answered
Exporting table data to excel with no headers
Hi @Rose Akhavan Tabassi, To export data from MATLAB to Excel without headers using‘writetable’, you can use the‘WriteVariable...

1 year ago | 0

Answered
how to calculate for 100's of coordinates
Hi @Ankit, To calculate hundreds of coordinates with changes along the x, y, and z axes, you can: Start with an initial set ...

1 year ago | 0

Answered
how can extract data from txt file?
Hi @GreyHunter, To extract specific audio segments based on the timing information in your text file, you'll need to read the ...

1 year ago | 0

Answered
Converting frequency data to time data
Hi Lokesh, To convert your Force vs Frequency data into Force vs Time in MATLAB, you can use the inverse Fourier transform as ...

1 year ago | 0

Answered
How to delete specific texts on CSV file with MATLAB?
Hi HSukas, Steps to Filter Data Read the CSV File: Use readcell to read the data if it's structured like a cell array. Def...

1 year ago | 0

Answered
How can I transform between Time-Domain and Frequency-Domain?
Hi Mohammad, To transform a shape from the time domain to the frequency domain using the Fourier Transform in MATLAB, it seems...

1 year ago | 0

Answered
Is there a MATLAB simulation time command supported by Simulink Design Verifier?
Hi @Joshua, In a MATLAB Function block in Simulink, you can access the current simulation time without needing a “Digital Cloc...

1 year ago | 0

| accepted

Load more