photo

Nikhil Vyas


The MathWorks Inc

Attivo dal 2016

Followers: 0   Following: 0

Messaggio

Programmer | Gamer | Photographer

Statistica

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

Visualizza badge

Feeds

Visto da

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

oltre 8 anni fa | 0

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

oltre 8 anni fa | 0

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

oltre 8 anni fa | 0

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

oltre 8 anni fa | 0

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

oltre 8 anni fa | 0

| accettato

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

oltre 8 anni fa | 0

| accettato

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

oltre 8 anni fa | 1

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

oltre 8 anni fa | 0

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

oltre 8 anni fa | 1

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

oltre 8 anni fa | 1

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

oltre 8 anni fa | 0

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

oltre 8 anni fa | 0

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

oltre 8 anni fa | 0

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

oltre 8 anni fa | 0

| accettato

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

oltre 8 anni fa | 0

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

oltre 8 anni fa | 0

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

oltre 8 anni fa | 3

| accettato

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

oltre 8 anni fa | 0

Risolto


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

oltre 8 anni fa

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

oltre 8 anni fa | 1

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

oltre 8 anni fa | 0

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

quasi 9 anni fa | 0

Risolto


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

quasi 9 anni fa

Risolto


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

quasi 9 anni fa

Risolto


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

quasi 9 anni fa

Risolto


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

quasi 9 anni fa

Risolto


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

quasi 9 anni fa

Risolto


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

quasi 9 anni fa

Risolto


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

quasi 9 anni fa

Risolto


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

quasi 9 anni fa