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

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

4 years ago

Answered
Can someone teach me how this code is excecuted?
There is no need of i=i+1 in the for loop function matrix = sparse2matrix(cellvec) row = cellvec{1,1}(1,1); col = cellvec{1...

4 years ago | 0

Answered
How to close UIAlert in AppDesigner by command?
You can use message box tool in the base code itself h = msgbox('Please Wait ...you are dealing with large data', 'Processing'...

4 years ago | 0

| accepted

Answered
Counting elements in cell array
You can try this for a specific column of a cell array Suppose in the 2nd column you have elements labels=NameofYourCellArra...

4 years ago | 0

Answered
Error when uploading Cell Array to UI Table in GUI
load it normally yourfile = load('GlobalSystemMatrices.mat') yourtable = struct2table(yourfile) that way you get a 3 column t...

4 years ago | 0

| accepted

Answered
can someone explain this code for me? i am not sure what the q is doing here inside the loop. why do both vectors after the loop have the same numbers?
Basically first you are allocating space for 10 elements in b by doing b = zeros(1,10) After that for each element in b you a...

4 years ago | 0

Answered
help to input sqrt function
For this z=(sin√(x^2+y^2 ))/√(x^2+y^2 ) For x and y as single elements z=sin(sqrt(1^2+2^2)) z=z/(sqrt(1^2+2^2)) For a fu...

4 years ago | 0

Answered
the first letter of the output string will be the first letter of the first word of the sentence.
You can split your string using a delimiter. which in your case is space new_s = split(s,' ') create a dummy string ans and ap...

4 years ago | 2

| accepted