Community Profile

photo

Nikhil Vyas


The MathWorks Inc

Actif depuis 2016

Followers: 0   Following: 0

Contact

Programmer | Gamer | Photographer

Statistiques

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

Afficher les badges

Feeds

Afficher par

A répondu
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...

presque 8 ans il y a | 0

A répondu
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-...

presque 8 ans il y a | 0

A répondu
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...

presque 8 ans il y a | 0

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

presque 8 ans il y a | 0

A répondu
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...

presque 8 ans il y a | 0

| A accepté

A répondu
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 ...

presque 8 ans il y a | 0

| A accepté

A répondu
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 ...

presque 8 ans il y a | 1

A répondu
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...

presque 8 ans il y a | 0

A répondu
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...

presque 8 ans il y a | 1

A répondu
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...

presque 8 ans il y a | 1

A répondu
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...

presque 8 ans il y a | 0

A répondu
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...

presque 8 ans il y a | 0

A répondu
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...

presque 8 ans il y a | 0

A répondu
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...

presque 8 ans il y a | 0

| A accepté

A répondu
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...

presque 8 ans il y a | 0

A répondu
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...

presque 8 ans il y a | 0

A répondu
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 ...

presque 8 ans il y a | 3

| A accepté

A répondu
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...

presque 8 ans il y a | 0

A résolu


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

presque 8 ans il y a

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

presque 8 ans il y a | 1

A répondu
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...

presque 8 ans il y a | 0

A répondu
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...

environ 8 ans il y a | 0

A résolu


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

environ 8 ans il y a

A résolu


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

environ 8 ans il y a

A résolu


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

environ 8 ans il y a

A résolu


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

environ 8 ans il y a

A résolu


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

environ 8 ans il y a

A résolu


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

environ 8 ans il y a

A résolu


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

environ 8 ans il y a

A résolu


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

environ 8 ans il y a