Community Profile

Swati Tiwari


MathWorks

10 total contributions since 2011

Contact

Swati Tiwari's Badges

  • Thankful Level 1
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
Fail Reasons exportable in the UnitTest-Framework?
Now with R2016a, you can use DiagnosticsRecordingPlugin to add diagnostics on test results. http://www.mathworks.com/help/mat...

3 years ago | 2

Answered
xml output for matlab.unittest results
In R2015b, MATLAB has <http://www.mathworks.com/help/matlab/ref/matlab.unittest.plugins.xmlplugin-class.html included a plugin> ...

4 years ago | 1

Answered
How can I integrate the MATLAB testing framework with Team Foundation Server
In R2015b, MATLAB has <http://www.mathworks.com/help/matlab/ref/matlab.unittest.plugins.xmlplugin-class.html included a plugin> ...

4 years ago | 1

Answered
How do I find the last occurrence of a match using regexp in MATLAB?
Thank you all. I also figured out a way to do it! str = '/* This is a sectionEndExample comment */ int x; /* sectionEndExam...

6 years ago | 0

Answered
Extracting files saved in .mat file
You should be able to load the image matrix into the MATLAB workspace using the LOAD function. var = load('filename.mat'); ...

6 years ago | 1

Question


How do I find the last occurrence of a match using regexp in MATLAB?
If I have the following string in MATLAB: str = '/* This is a comment */ int x; /* sectionEndExample */'; How do I find ...

6 years ago | 4 answers | 1

4

answers

Solved


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

7 years ago

Solved


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

7 years ago

Solved


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

7 years ago

Answered
Why do I get an error 'undefined function initprintexporttemplate' when creating a figure using GUIDE?
Every time a file from matlabroot/toolbox is changed, added, or removed , it is necessary to execute the following command at th...

8 years ago | 1