Community Profile

photo

Dipesh Mudatkar


Active since 2017

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 2
  • First Review
  • First Submission
  • Solver
  • Thankful Level 1
  • First Answer

View badges

Feeds

View by

Question


How to convert Simulink model into XML file ?
I tried following. >> sys='Example'; % Model name is Example >> save_system(sys, 'exported_file_name.xml', 'ExportToXML', ...

6 years ago | 2 answers | 0

2

answers

Question


How to share data between two GUI ?
Problem: 1. Two GUI are created with name First.fig / First.m and Second.fig / Second.m. 2. Both GUI have two radio button...

6 years ago | 1 answer | 0

1

answer

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

6 years ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

6 years ago

Solved


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

6 years ago

Solved


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

6 years ago

Solved


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

6 years ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

6 years ago

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

6 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

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

6 years ago

Solved


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

6 years ago

Solved


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

6 years ago

Solved


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

6 years ago

Solved


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

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

6 years ago

Question


Trying to implement the factorial program in stateflow.
Error While running the Simulink/Stateflow model model Error: Size for Local Data 'index' may not be inherited Error: Size...

6 years ago | 1 answer | 0

1

answer

Question


MATLAB GUI figure open with the Toggle button problem [Explanation Given Below].
*Files:* UI_Input.m, warning_123 and UI_Input.fig (For matlab GUI). *Input Figures for Display:* On.PNG, Off.PNG, One.PNG and...

6 years ago | 0 answers | 0

0

answers

Question


Error while running the script based Unit Tests
The example given on MathWorks website (on the link given below) is not working. <https://in.mathworks.com/help/matlab/matlab...

6 years ago | 1 answer | 0

1

answer

Answered
how to invert the samples of a audio signal
Try this. [y,fs]=audioread('put your audio file path'); % This will give you audio samples is y (It should be in row vector...

7 years ago | 0

Question


If signal(1D) is buffer and buffer matrix(2D) is process after this how to combine back the processed buffer matrix to generate the same length (1D) signal as input?
If I have the signal A=[1:100]; % 1D signal B=buffer(A,20,10); % framesize=20 and frameshift=10. ...

7 years ago | 0 answers | 0

0

answers

Submitted


Multiple raw audio file (with .CA0 extensions) to wave file conversion.
Multiple Audio .PCM raw audio to .wav conversion with for loop

7 years ago | 1 download |

Question


How to read raw speech signal without header in MATLAB ?
I tried this code fid = fopen('File_name','r'); y = fread(fid,inf,'short'); y = doubel(y); sound(y) but sound is no...

7 years ago | 1 answer | 0

1

answer

Question


How to plot impulses at particular locations using find command in MATLAB .?
For example, I have x=[2 0 5 0 5 0 8 5 5 8 5 5 0 5 0 5 0 5 0 5 0 8 4 0 5]; index=find(x~=0); x(index)=1; After this, I hav...

7 years ago | 0 answers | 0

0

answers