Community Profile

photo

Nikhil Vyas


The MathWorks Inc

Con actividad desde 2016

Followers: 0   Following: 0

Contacto

Programmer | Gamer | Photographer

Estadísticas

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

Ver insignias

Feeds

Ver por

Respondida
Making accurate graphs of vectors calculated in while loop
Assuming you want to plot the values in Q_stored and T_Stored against the progress of while loop(which is basically the value of...

casi 8 años hace | 0

Respondida
How can I avoid the dreaded P=NaN when using chi2gof?
This answer might help you: <http://www.mathworks.com/matlabcentral/answers/55082-chi-square-test-with-2-bins-why-do-i-get-p-...

casi 8 años hace | 0

Respondida
Code Generation with Inlined S-Functions
I don't know about any in-build method to do this. However you can configure the model to execute your custom code before loadin...

casi 8 años hace | 0

Respondida
Is Matlab support for the Raspberry Pi coming to linux?
Well, we can only wait. But I personally think it is quite possible. :)

casi 8 años hace | 0

Respondida
plot3 with datetime
It's not possible to use datetime with plot3. However, you can use your axis values with datetick to display the axis ticks as d...

casi 8 años hace | 0

| aceptada

Respondida
Plot separate histograms.
Assuming this is a n x 5 matrix, the following commands will give you separate matrices based on your condition. % x being ...

casi 8 años hace | 0

| aceptada

Respondida
Is there a way to upload files on matlab drive using android device (Moto G Phone)?
Unfortunately, uploading files from the mobile is not supported. Please look at the following screenshot from the MATLAB Mobile ...

casi 8 años hace | 1

Respondida
Finding Angle between two lines on an image
You may use Hough Transform to detect multiple lines on an image. Once you have the lines, it's pretty straightforward to calcul...

casi 8 años hace | 0

Respondida
How to detect white patches in the image?
You may use regionprops for this. For information about usage of regionprops, refer the following link. <http://www.mathworks...

casi 8 años hace | 1

Respondida
how to determine whether a queue is empty in Simevents and do some actions based on this observation?
The Queue blocks(and almost all the other similar blocks of simevents) has a Statistics Tab in the Block Parameters. <</matla...

casi 8 años hace | 1

Respondida
How to simulate a (warehouse) subscription order process with SimEvents?
For random orders by a customer, you may use the Event-Based Entity Generator block coupled with a Random Event Generator(Random...

casi 8 años hace | 0

Respondida
Mapping Out and Multiplying Elements in Vectors
In your expected output matrix, where is the row [0.00 48.77 33.00] coming from? Other than that, you can find the average us...

casi 8 años hace | 0

Respondida
How to deal with multiple time series in MATLAB?
The approach I would use is: merge the MAT files, initialize the N x 16000 timeseries. So basically after merging, your final...

casi 8 años hace | 0

Respondida
Cannot write new code or change variables when in Debug Mode
You can't make changes to your code while you're in Debug mode. If you try to save your changes, it would prompt you to exit the...

casi 8 años hace | 0

| aceptada

Respondida
Matlab R2016a MLX generated figure no response
It might be possible that the *.fig extension files are not associated with MATLAB. You can change file association in Windows b...

casi 8 años hace | 0

Respondida
I have this code creating a list of months, however the output is on the last month, Dec. Is it possible to create a matrix of the individual month in order to incorporate into another code?
I'm not sure about what output you require from this code so I'm assume that you just want a cell array with month values. It...

casi 8 años hace | 0

Respondida
Change Color of Specific Legend Text (not all text)
Instead of doing all that, you can use LaTeX to change the color of the legend text. Let's take a simple example. x = [1 2 ...

casi 8 años hace | 3

| aceptada

Respondida
How do I get my name to show up on Cody Challenges?
In case your name is not showing up the submission list, you may use the following workaround to view your submissions. 1) Su...

casi 8 años hace | 0

Resuelto


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

casi 8 años hace

Respondida
Bit Extraction - Simulink
You can use the Bit Slice block instead of Extract Bits to achieve the same. Something like this: <</matlabcentral/answers/u...

casi 8 años hace | 1

Respondida
How to read in an xml file created by c#
If you provide proper starting and ending tags, it works properly with xmlread. I modified your first xml and added the second x...

casi 8 años hace | 0

Respondida
how can i translate matlab from english to spanish?
Assuming you're using Windows OS, go through the accepted answer at the following link. http://www.mathworks.com/matlabcentra...

alrededor de 8 años hace | 0

Resuelto


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

alrededor de 8 años hace

Resuelto


Is my wife right?
Regardless of input, output the string 'yes'.

alrededor de 8 años hace

Resuelto


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

alrededor de 8 años hace

Resuelto


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

alrededor de 8 años hace

Resuelto


Add two numbers
Given a and b, return the sum a+b in c.

alrededor de 8 años hace

Resuelto


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

alrededor de 8 años hace

Resuelto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

alrededor de 8 años hace

Resuelto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

alrededor de 8 años hace