![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/vguptamathworkscom_1530122526968_DEF.jpg)
Viren Gupta
MathWorks
自 2018 起处于活动状态
Followers: 0 Following: 0
I work at MathWorks.
Feeds
已回答
Plotting an Array in Simulink with the Simulation time on X-Axis
Hi, For giving the input as an array (1800*1), you can directly set the Input parameter in Data imprt/Export parameter as [t,u]...
Plotting an Array in Simulink with the Simulation time on X-Axis
Hi, For giving the input as an array (1800*1), you can directly set the Input parameter in Data imprt/Export parameter as [t,u]...
5 years 前 | 0
已回答
dividerand followed by divideind doesn't seem to work?!?!
You can set the properties of the 'net' here. Example:- net.divideFcn = 'divideind'; net.divideParam.trainInd = trainInd; net...
dividerand followed by divideind doesn't seem to work?!?!
You can set the properties of the 'net' here. Example:- net.divideFcn = 'divideind'; net.divideParam.trainInd = trainInd; net...
5 years 前 | 0
| 已接受
已回答
matlab trainNetwork mini-batch size
If I understand correctly, you expect the 'miniBatchSize' to create the batches along the time dimension. But this is not what '...
matlab trainNetwork mini-batch size
If I understand correctly, you expect the 'miniBatchSize' to create the batches along the time dimension. But this is not what '...
6 years 前 | 0
| 已接受
已回答
Error: Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
The error arises at the line VV(k,i)=V From 'VV(k,i)' , MATLAB assumes that VV is an array/matrix. V is already a vecto...
Error: Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
The error arises at the line VV(k,i)=V From 'VV(k,i)' , MATLAB assumes that VV is an array/matrix. V is already a vecto...
6 years 前 | 0
已回答
How to pass inputs to a Simulink executable launched in the cmd
If you have used rsim target, then you can follow the approach mentioned in the below link to add input arguments. <https://www...
How to pass inputs to a Simulink executable launched in the cmd
If you have used rsim target, then you can follow the approach mentioned in the below link to add input arguments. <https://www...
6 years 前 | 0
已回答
How to check whether a condition is being met and move on to next if it dosent
Since c is equal to the mean of b*1,b*5 and b*6, hence c = b*(1+5+6)/3 = 4*b. Therefore 6<4*b<7 implies b lies between 1.5 and 1...
How to check whether a condition is being met and move on to next if it dosent
Since c is equal to the mean of b*1,b*5 and b*6, hence c = b*(1+5+6)/3 = 4*b. Therefore 6<4*b<7 implies b lies between 1.5 and 1...
6 years 前 | 0
| 已接受
已回答
Using LIBSVM for classification in a pretrained network
I think the second approach is better where you extract features from 'fc7' layer and then feed these features into your svm mod...
Using LIBSVM for classification in a pretrained network
I think the second approach is better where you extract features from 'fc7' layer and then feed these features into your svm mod...
6 years 前 | 0
已回答
Different classification results for varaying miniBatchSize?
Having a larger miniBatchSize helps in faster predictions. But the results can also change. LSTM accepts all the sequences in a ...
Different classification results for varaying miniBatchSize?
Having a larger miniBatchSize helps in faster predictions. But the results can also change. LSTM accepts all the sequences in a ...
6 years 前 | 0
已回答
Convolution Command: Inputs Invalid
I tried relicating your code. x1 is of type sym. You can convert x1 into numeric type using double(x1). That should solve the er...
Convolution Command: Inputs Invalid
I tried relicating your code. x1 is of type sym. You can convert x1 into numeric type using double(x1). That should solve the er...
6 years 前 | 0
| 已接受
已回答
how do I program 2 things in 1 function file without loop
You need to define a function in MATLAB with the name 'display_hand'. You can refer <https://www.mathworks.com/help/matlab/ref/f...
how do I program 2 things in 1 function file without loop
You need to define a function in MATLAB with the name 'display_hand'. You can refer <https://www.mathworks.com/help/matlab/ref/f...
6 years 前 | 0
已回答
Need to write a program that finds the volume and surface area of shapes, askes a user how many shapes they want to find the V and SA of, askes to input values, displays the final values and askes if they are finished. Have this so far, but get error
Firstly you need to use 'strcmp' function in MATLAB rather than comparing the input strings using ==. '==' operator assumes same...
Need to write a program that finds the volume and surface area of shapes, askes a user how many shapes they want to find the V and SA of, askes to input values, displays the final values and askes if they are finished. Have this so far, but get error
Firstly you need to use 'strcmp' function in MATLAB rather than comparing the input strings using ==. '==' operator assumes same...
6 years 前 | 0
已回答
how can I generate a vector containing the GHI at 12:30 for every day of the year using 'for' loops and 'if' statement?
You first need to read the data into a matrix (you can use readtable function). 'Readtable' function will give you a table from ...
how can I generate a vector containing the GHI at 12:30 for every day of the year using 'for' loops and 'if' statement?
You first need to read the data into a matrix (you can use readtable function). 'Readtable' function will give you a table from ...
6 years 前 | 1
已回答
How do I ensure that the number of delimiters on each row are constant when reading a hige csv file
Making sure that each line of the input file has same number of delimiters is what the person who created this file has to do. Y...
How do I ensure that the number of delimiters on each row are constant when reading a hige csv file
Making sure that each line of the input file has same number of delimiters is what the person who created this file has to do. Y...
6 years 前 | 0
已回答
MATLAB's custom distance function example for two matrices.
Here is a working example if you want to find KL divergence between 2 vectors. z1=rand(1,5); z2=rand(1,5); X=[z1;...
MATLAB's custom distance function example for two matrices.
Here is a working example if you want to find KL divergence between 2 vectors. z1=rand(1,5); z2=rand(1,5); X=[z1;...
6 years 前 | 0
| 已接受
已回答
How to optimize the parameters using libsvm?
Firstly MATLAB does not support svmtrain with cmd parameter as suggested <https://www.mathworks.com/matlabcentral/answers/34568-...
How to optimize the parameters using libsvm?
Firstly MATLAB does not support svmtrain with cmd parameter as suggested <https://www.mathworks.com/matlabcentral/answers/34568-...
6 years 前 | 0
| 已接受