Community Profile

photo

Nikhil Vyas


The MathWorks Inc

Aktiv seit 2016

Followers: 0   Following: 0

Kontakt

Programmer | Gamer | Photographer

Statistiken

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 0

| akzeptiert

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

fast 8 Jahre vor | 0

| akzeptiert

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

fast 8 Jahre vor | 1

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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 1

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

fast 8 Jahre vor | 1

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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 0

| akzeptiert

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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 3

| akzeptiert

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

fast 8 Jahre vor | 0

Gelöst


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

fast 8 Jahre vor

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

fast 8 Jahre vor | 1

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

fast 8 Jahre vor | 0

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

etwa 8 Jahre vor | 0

Gelöst


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

etwa 8 Jahre vor

Gelöst


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

etwa 8 Jahre vor

Gelöst


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

etwa 8 Jahre vor

Gelöst


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

etwa 8 Jahre vor

Gelöst


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

etwa 8 Jahre vor

Gelöst


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

etwa 8 Jahre vor

Gelöst


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

etwa 8 Jahre vor

Gelöst


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

etwa 8 Jahre vor