Community Profile

photo

Akbar


Last seen: 11 mois il y a Actif depuis 2014

Followers: 0   Following: 0

Contact

Statistiques

All
  • Solver
  • First Review
  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer
  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

A résolu


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

plus de 3 ans il y a

A résolu


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

plus de 3 ans il y a

A résolu


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...

plus de 3 ans il y a

A résolu


Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<https://imgur.com/x6hT6mm.png>> ...

plus de 3 ans il y a

A résolu


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


Is my wife right?
Regardless of input, output the string 'yes'.

plus de 3 ans il y a

A résolu


convert matrix to single column
given any matrix, convert it to single column

plus de 3 ans il y a

A résolu


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

Question


How to create the same png icon but with a different color?
Here is a .png of a button icon. I need exactly the same icon, with the same style but a green color. How can I achieve that?...

environ 5 ans il y a | 2 réponses | 0

2

réponses

A répondu
Step response due to input changes
Maybe try in Simulink, using the Signal builder block you can create Input as you want. <</matlabcentral/answers/uploaded_fil...

plus de 5 ans il y a | 0

A répondu
find_system(Search_Path,'SearchDepth',1,'BlockType','Inport'); what does this function do? specially what is search depth and value 1?
It is used to get paths to particular blocks in simulink model. In this case, your command will search for all blocks of type "I...

presque 6 ans il y a | 0

Question


Need help with symbolic variables (if else statement)
if a > 10^-8 switch1 = b; else switch1 = 0; end i get the following error: Conversion to logical ...

presque 6 ans il y a | 2 réponses | 0

2

réponses

Question


Stuck with symbolic variables
How to correctly assign symbolic values to the selected elements of an Array? syms a b c x = [a;b]; c([1 2]) = x; ...

presque 6 ans il y a | 1 réponse | 0

1

réponse

A répondu
Could anyone help me how to type different symbols for the legend in the graph
LS = {'-v','-^',':','-.','-o','-','-+','-*','x','-square','--+'}; plot(1:10,ones(1,10),'-<','color','black') hold on ...

presque 6 ans il y a | 0

Question


How to get the order indices in a character array?
Here is my cell Array, consider it as an input: ans = 7×1 cell array {'x_air' } {'v_air' ...

presque 6 ans il y a | 3 réponses | 0

3

réponses

Question


How to make ode15s not to cross zero?
Here is the solution to a differential equation by simulink(ode15s, orange) and matlab(ode15s, blue). The solution mustn't cros...

presque 6 ans il y a | 2 réponses | 0

2

réponses

Question


I'm stuck with this proplem. Variable used before it's defined.
I have a differential equation(ODE) represented as a directed graph. The ODE is not known, only its graph representation is gi...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Question


Variable might be used before it's defined. How to workaround?
I am writing a matlab script. Code analyzer underlines one of the variables in red and says that, Variable might be used befor...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Question


Represent the 'Selector' block in simulink as matlab code?
How to represent the 'Selector' block in simulink as a matlab code? For ex.: 'Sum' block could be coded like 'out = in1 + in...

presque 6 ans il y a | 1 réponse | 0

1

réponse

A répondu
formula behind nlinfit function
<https://www.mathworks.com/help/releases/R2017b/stats/nlinfit.html?s_tid=doc_ta#btl_944-7 Read section 'more about'> And there...

presque 6 ans il y a | 0

Charger plus