Answered
How to do matrix indexing using for loop that involved sampling at time k?
Hey Eric Assuming that you have 2 arrays to start with (x1 and x2, as given in your question), you can declare an empty matrix ...

ungefär 4 år ago | 0

| accepted

Answered
Unable to perform assignment because the indices on the left side are not compatible with the size of the right side. (using vpasolve)
Hey James Assuming that the equations written by you are correct, and ( (parenthesis) placed by you are fine too, the vpasolve ...

ungefär 4 år ago | 0

| accepted

Answered
Addaxis function with bar plot added
Hi Eeleen You can use bar function to plot bar on the third axis. To plot bar, you need to give in axes as the first argument ...

ungefär 4 år ago | 0

Answered
How to make code to split, compute mean, apply Softmax
Hi, You can use splitapply function to split your whole data into 9 groups and apply the mean function to each group. It would ...

mer än 4 år ago | 0

| accepted

Answered
How to predict course of a graph
Hi, Statistics and Machine Learning Toolbox and Curve Fitting Toolbox provide apps and functions for fitting curves and surface...

mer än 4 år ago | 1

| accepted

Answered
How can I curve fit more than one variable
You can use fit function (Curve Fitting Toolbox) to fit polynomials to data. Using fit, you can fit polynomials with degree less...

mer än 4 år ago | 0

Answered
RESIZE 3-D MATRIX
Hi, In your case, the original matrix has a total of 54,744,090 (447*370*331) elements, while the resultant matrix has 1,020,00...

mer än 4 år ago | 0

Answered
Finding intrinsic dimensionality of data set
Hi, latent (column vector) stores the eigenvalues of the covariance matrix of X. Executing cumsum(latent/sum(latent)) wo...

mer än 4 år ago | 0

| accepted

Answered
Parallel Plate Microfluidics velocity problem
Hi, Though you wish to plot a straight line, you have plotted (y^2) which means you are supposed to get a parabolic graph.

mer än 4 år ago | 1

Answered
Given two positions on a map, draw a straight line between them when a condition is met
Hi, Assuming that you have properly declared and defined posx and posy vectors (containing x and y coordinates of users) and ...

mer än 4 år ago | 0

Answered
Speeding up the computation
Hi, You can use parfor loop to run your for loop on multiple workers. However, parfor can only be used when there aren’t an...

mer än 4 år ago | 0

Answered
I have two cell arrays and I want to compare which element from the first array has similar words in the second array
Hi, You can use strcmp function to compare 2 strings. To solve your above problem, you can run a loop on array1 and another...

mer än 4 år ago | 0

| accepted

Answered
Display specific element of MATLAB table in bold?
Hi, You can create a cell array of paragraph and then convert the desired elements to bold. You can refer to the below code: ...

mer än 4 år ago | 0

Answered
How to detect skin region in YCbCr color space?
Hi, You can use ‘Color Thresholder’ app provided in the Image Acquisition Toolbox. After loading the image from a file/wor...

mer än 4 år ago | 1

| accepted

Answered
How do I extract the pixels of yellow pixels,purple pixels from the image and display it in a white image?
Hi, You can use ‘Color Thresholder’ app provided in the Image Acquisition Toolbox. After loading the image from a file/work...

mer än 4 år ago | 0

Answered
Convert Struct to Readable JSON(Pretty Print)
Hi, You can find a function which can help you resolve the problem you are facing in this file.

mer än 4 år ago | 0

Answered
Out of memory while training
Hi, Consider using ‘MiniBatchSize’ and 'ExecutionEnvironment' as arguments in trainingOptions. Using ‘MiniBatchSize’, you ...

mer än 4 år ago | 0

Answered
How can i recording audio immediately?
Hi, Given below is a command which will open example for you which will help you record the audio immediately. openExample(...

mer än 4 år ago | 1

| accepted

Answered
How to open this example
Hi, Type ee_motor_stepper_preparameterization in MATLAB command window. Ensure that you are using MATLAB R2019b for this...

mer än 4 år ago | 0

Answered
How to obtain all the bar graphs. My code only gives one bar graph even though I have written a code to get four bar graphs.
Hi, bar(y) creates a bar graph with one bar for each element in y. In your case, you plot the bars on top of each other and he...

mer än 4 år ago | 0

Answered
What is best way to define 2 way dependence between class properties
Hi, Assuming you are using MATLAB R2019a, you can set a property in other property’s set method, though it shows a warning. S...

nästan 5 år ago | 1

Answered
Read Text File and extract audio value
Hi, I understand that you wish to extract audio from the given text file. You can use importdata function to read the file...

nästan 5 år ago | 0

Answered
Reading multiple columns of an excel sheet to output a range of values. Please see the example
Hi, I understand that you wish to look for output of other columns as well. What you can try doing is to write a loop which...

nästan 5 år ago | 1

| accepted

Answered
Open and closed dots for endpoint
Hi, You could refer to the below code: P=[0 2 1 4 2 6 3 8 4 10 5 12 6 14 7 16 8 18 9 20 10 ...

nästan 5 år ago | 1

| accepted

Answered
Does ValidationData in trainingOptions influence training progress
Hi, The ValidationData in trainingOptions does not have any influence in training progress. In actual, validation set is use...

nästan 5 år ago | 0

| accepted

Answered
problem with the name and colors of function bar
R1=[0.653368446507723 0.679697416448178 0.498095754312123 0.769842809543479 0.548071337734980 0.741418460004374 0.14430950893666...

nästan 5 år ago | 0

Answered
ARIMA comparison results between Matlab and Eviews
Hi, The ARIMA model and regARIMA model are completely different. ARIMA model is a linear time series model for a univariate r...

nästan 5 år ago | 1

| accepted

Answered
How to analyze one image 100 times using for loop?
Hi, I understand that you wish to analyze each frame separately. However, there’s some problem in the code you have written. ...

nästan 5 år ago | 0

| accepted

Answered
Problem with completion of Matlab Onramp
Hi, As far as I know, you have left out filling the feedback form for MATLAB ONRAMP training.

nästan 5 år ago | 0

Answered
Is it possible to call from Matlab (with py) a Python code that itself call a Matlab function through matlab.engine ?
Hi, In my understanding, what you are trying to do is to execute a python code file in a MATLAB script. However, MATLAB provid...

nästan 5 år ago | 0

Load more