Preethi
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...
거의 6년 전
문제를 풀었습니다
Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
거의 6년 전
문제를 풀었습니다
Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]
거의 6년 전
문제를 풀었습니다
Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....
거의 6년 전
문제를 풀었습니다
Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
거의 6년 전
문제를 풀었습니다
Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...
거의 6년 전
문제를 풀었습니다
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
거의 6년 전
문제를 풀었습니다
Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...
거의 6년 전
문제를 풀었습니다
Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.
거의 6년 전
문제를 풀었습니다
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
거의 6년 전
답변 있음
c++ and matlab
hi, Use mex check this link https://in.mathworks.com/help/matlab/ref/mex.html?searchHighlight=mex%20c%20code&s_tid=doc_srch...
c++ and matlab
hi, Use mex check this link https://in.mathworks.com/help/matlab/ref/mex.html?searchHighlight=mex%20c%20code&s_tid=doc_srch...
거의 6년 전 | 0
| 수락됨
답변 있음
how to add label to diagram plotted using plot function?
hi, hope this helps xlabel('X axis'); % to label X axis Ylabel('Value'); % to label Y axis title('Name'); %to provide title ...
how to add label to diagram plotted using plot function?
hi, hope this helps xlabel('X axis'); % to label X axis Ylabel('Value'); % to label Y axis title('Name'); %to provide title ...
거의 6년 전 | 0
| 수락됨
답변 있음
Unable to open figure window
hi, hover near MATLAB icon in task bar, right click and then select Maximize
Unable to open figure window
hi, hover near MATLAB icon in task bar, right click and then select Maximize
거의 6년 전 | 0
답변 있음
"Index in position 1 is invalid. Array indices must be positive integers or logical values."
Initialize variable i with 1, before using it i=1;
"Index in position 1 is invalid. Array indices must be positive integers or logical values."
Initialize variable i with 1, before using it i=1;
거의 6년 전 | 0
질문
read data from word based on section heading
Hi all, I want to read data from word based on the section heading. I have multiple documents and section header is same for al...
거의 6년 전 | 답변 수: 0 | 0
0
답변답변 있음
how I do it. the function is called a string is passes a numbr
hi, check this function test_preethi(str) persistent i if isempty(i) i=1; else if i <=5 sprintf('%s%d',...
how I do it. the function is called a string is passes a numbr
hi, check this function test_preethi(str) persistent i if isempty(i) i=1; else if i <=5 sprintf('%s%d',...
대략 6년 전 | 0
문제를 풀었습니다
How to subtract?
*± ± ± ± ± ± ± ± ± ± ±* * Imagine you need to subtract one...
대략 6년 전
문제를 풀었습니다
Produce a Fibonacci sequence
Construct a diagram that generates the Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13, 21, 34.....up to 377 The Fibonacci sequ...
대략 6년 전
문제를 풀었습니다
Make a full wave rectifier
Produce a full wave rectifier waveform for the given sine wave source. For a sine wave input, the output of the full wave rec...
대략 6년 전
문제를 풀었습니다
Make a half wave rectifier
Produce a signal that outputs the given sine wave source when it is greater than zero and outputs zero when it is less than zero...
대략 6년 전
답변 있음
Simulink While Loop - recording iteration-by-iteration parameters
hi, Have you tried using assignin() function?
Simulink While Loop - recording iteration-by-iteration parameters
hi, Have you tried using assignin() function?
대략 6년 전 | 0
답변 있음
how to select values of nx3 matrix where its index is equal to a value in other matrix
hi, try this i=1 for j=1:1:fid if j==fnew(j) FF(i)=f(j) i=i+1 end end sin...
how to select values of nx3 matrix where its index is equal to a value in other matrix
hi, try this i=1 for j=1:1:fid if j==fnew(j) FF(i)=f(j) i=i+1 end end sin...
대략 6년 전 | 0
답변 있음
Adding Bar graph with another plot, convert the bar graph with a color axis, tittle in one figure?
hello, hope this is helpful x = [0 0.2 0.4 0.7 0.8 1]; % start of bar y = zeros(length(x),1); dx = diff([x 1]); % ...
Adding Bar graph with another plot, convert the bar graph with a color axis, tittle in one figure?
hello, hope this is helpful x = [0 0.2 0.4 0.7 0.8 1]; % start of bar y = zeros(length(x),1); dx = diff([x 1]); % ...
거의 8년 전 | 1
| 수락됨
답변 있음
Plot two different data having the same xy-location
hi, you can use hold on functionality or plot the data in different series. Hope the below link is useful. <http://in.mathwo...
Plot two different data having the same xy-location
hi, you can use hold on functionality or plot the data in different series. Hope the below link is useful. <http://in.mathwo...
거의 8년 전 | 0