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

meer dan 4 jaar 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:...

meer dan 4 jaar 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...

meer dan 4 jaar 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'...

meer dan 4 jaar 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...

meer dan 4 jaar 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...

meer dan 4 jaar 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...

meer dan 4 jaar 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...

meer dan 4 jaar 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...

meer dan 4 jaar ago | 2

| accepted