해결됨

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

5달 전

해결됨

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

5달 전

해결됨

Get the length of a given vector

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

5달 전

해결됨

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

5달 전

답변 있음

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

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

5달 전 | 0

해결됨

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

5달 전

해결됨

Determine if input is odd

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

5달 전

답변 있음

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

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

5달 전 | 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...

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

5달 전 | 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...

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

5달 전 | 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...

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

5달 전 | 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 =...

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

5달 전 | 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...

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

5달 전 | 0

답변 있음

How can I simplify my expression?

It only needs more time to simplify: I'm doing: simplify(4.0475406620140304336968591117778*Ua + 0.048633477607650367346402317...

How can I simplify my expression?

It only needs more time to simplify: I'm doing: simplify(4.0475406620140304336968591117778*Ua + 0.048633477607650367346402317...

5달 전 | 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...

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

5달 전 | 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...

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

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

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

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

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

6달 전 | 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(:...

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

8달 전 | 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 ...

10달 전 | 답변 수: 1 | 0

답변 있음

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

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

12달 전 | 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))))) ...

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

12달 전 | 0