해결됨


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

약 1년 전

해결됨


Create a vector
Create a vector from 0 to n by intervals of 2.

약 1년 전

해결됨


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

약 1년 전

해결됨


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

약 1년 전

해결됨


Find max
Find the maximum value of a given vector or matrix.

약 1년 전

해결됨


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

약 1년 전

해결됨


inner product of two vectors
inner product of two vectors

약 1년 전

해결됨


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

약 1년 전

해결됨


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

약 1년 전

답변 있음
how i can change the explicit code to implicit code?
function [T,x] = example(c,k,p,dt,dx) alpha=k/(p*c); lamda=alpha*dt/dx^2; for n=1:4 T(n,1)=100; T(n,6)=25; end fo...

약 1년 전 | 0

답변 있음
how to find local minima of a graph like shown in the figure?
Read findpeaks

약 1년 전 | 1

해결됨


Alphabetize by last name
Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

약 1년 전

해결됨


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

약 1년 전

해결됨


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

약 1년 전

답변 있음
find largest magnitude in array
A=[-0.1;1;-5;-0.8;-0.4]; tto=find(abs(A) == max(abs(A))) tt=find(abs(A) ~= max(abs(A)))

약 1년 전 | 0

| 수락됨

답변 있음
how can i use several loops
I will try to explain as best as I can. To do that, I will give values to the variables. nt = 4, nx = 5: for k=1:3 ( = [1,2,3...

약 1년 전 | 0

답변 있음
Correlation between two row matrices
Like that, each value of "a" is correlated to each value of "b", but applying the formula of the correlation, the correlation o...

약 1년 전 | 1

| 수락됨

답변 있음
Using function simple equation doesn't work
Next time, I ask you to add more info so people can help you easily and not only with a photo. The problem here is the block f...

약 1년 전 | 0

| 수락됨

답변 있음
How to display multiple images (non indexed images) with different sizes in a row?
I would use moon1, moon2 and moon3 as 3 images that can be different and with different size, but I will obtain them as moon1 =...

약 1년 전 | 0

답변 있음
Adding Dot For Linspace
You have two possibilities here: In the text file, you replace * by .* and / by ./ in all the document (there is an option in t...

약 1년 전 | 0

답변 있음
How can I simplify my expression?
It only needs more time to simplify: I'm doing: simplify(4.0475406620140304336968591117778*Ua + 0.048633477607650367346402317...

약 1년 전 | 1

| 수락됨

답변 있음
how to plot decaying exponential
Congratulation! You have your algorithm almost working, but you are using vector when you should be using scalars (As you have y...

약 1년 전 | 0

| 수락됨

답변 있음
How do I add numbers in a cell to another cell?
A{1}(B{1}==X) = B{1}(B{1}==X)

약 1년 전 | 0

답변 있음
Improving the speed!
I love this kind of problems. First of all, Matlab comes with a debugger that tell you in which part you are losing your time (I...

약 1년 전 | 1

| 수락됨

답변 있음
What does a value of performance in a neural network indicate?
If you look in the documentation of perform function (https://www.mathworks.com/help/deeplearning/ref/perform.html) it tells you...

약 1년 전 | 0

| 수락됨

답변 있음
Multiple Input Single Output Segmentation using Deep Learning
This question was asked here: https://www.mathworks.com/matlabcentral/answers/369328-how-to-use-multiple-input-layers-in-dag-net...

약 1년 전 | 1

| 수락됨

답변 있음
How to convert the color image into binary sequence?
I suppose you have a filter of color of [100,150,30], so to convert the image M you can do: sol = squeeze( M(:,:,1) > 100 & M(:...

1년 이상 전 | 1

질문


Where do I have to tell if I found some error in the Help section?
I just have found that the translation of https://es.mathworks.com/help/signal/correlation-and-convolution.html is in korean in ...

1년 이상 전 | 답변 수: 1 | 0

1

답변

답변 있음
Delete specific rows in a multidimensional matrix
The solution for your problem could be: Z=rand(800,1,100)*400; for(k=800:-1:1) if(or(Z(k,1,:)>=230,Z(k,1,:)<=330)...

1년 이상 전 | 1

답변 있음
Hey please assist me with plotting this function, not sure why im getting indexing error
You are missing a multiplying symbol y1=(3/10)*(1-exp(-6*t) [.*] (cos(sqrt(14*t))+(((3*sqrt(14))/7)*sin(sqrt(14*t))))) ...

1년 이상 전 | 0

Load more