Respondida
pls i need ful information and steps on how to use matlab to plot sin wave curve
You could find an example in the matlab documentation for plot function. >> doc plot

casi 11 años hace | 0

Respondida
computing first 50 terms of sequence
Keeping your code intact for most of the part, this is a quick fix x = zeros(2,50); x(:,1) = [1;0]; A = [1.52 -.7; .5...

casi 11 años hace | 0

| aceptada

Resuelto


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

casi 11 años hace

Resuelto


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

casi 11 años hace

Resuelto


Parse string and identify specific string sequence in algebraic equation
Given a string S that defines an algebraic expression such as: S= 'X= A1 + A2*(Y1 + A3*Y3)*exp( A4*Y12 + Y1) ;' return a...

casi 11 años hace

Respondida
picking data from excel
matlab provides an extensive documentation on xlsread. Please try and see if this helps doc xlsread

casi 11 años hace | 0

| aceptada

Respondida
Contain outputs of function in one table(?)
1. If your output variables all have equal number of rows, you indeed can use a 'table' datatype. doc table 2. Otherwise...

casi 11 años hace | 1

| aceptada

Respondida
How to replace data in a matrix by comparing from another matrix?
Assuming, the 'a' matrix has unique values in the first column for bRow= 1:size(b, 1) aRow = find(a(:,1)==b(bRow,1),...

casi 11 años hace | 1

Respondida
How do I loop through incrementally changing values
You could utilize the colon and element-wise operators, instead of looping. For example: alpha = 1:0.5:20; a = 0.1 + ...

casi 11 años hace | 0

Respondida
How do i create two multi-dimensional arrays:  a 10 x 10 x 10 numerical array (3-D) anda 5 x 5 x 5 x 5 numerical array (4-D) where each value in each array corresponds to the multiplication of indices?
This could be another approach: A = ones(10, 10, 10); for i=1:10 A(i,:,:) = A(i,:,:)*i; A(:,i,:) = A(:,i,:)*i;...

casi 11 años hace | 2

| aceptada

Respondida
Color maps and for loops
I guess, this is what you're looking for: myMap = zeros(4,3); for i=1:4 myMap(i,1) = i/4; end firstCo...

casi 11 años hace | 0

| aceptada

Respondida
add the particular column in the for loop
Are you looking for something like this? dataMatrix = [1 2 3; 4 5 6; 7 8 9]; outPut = zeros(size(dataMatrix,2),1); ...

casi 11 años hace | 0

Respondida
While loop for a menu
In my opinion, the proper way of doing this would be - using call-back functions. Please have a look if this documentation helps...

casi 11 años hace | 0

| aceptada

Respondida
how to make a radio button selected and another radio button deselected by clicking one of the radio button
I think, this documentation will help you help uibuttongroup

casi 11 años hace | 0

Respondida
How to plot point x on a line
I agree that the question is a bit unclear. If you're wondering how to find and highlight the intersection point(s) between t...

casi 11 años hace | 0

| aceptada

Respondida
How do I close Database toolbox connections?
You should be able to close the connection using the command: close(connectionObj) Also, the documentation might be usef...

casi 11 años hace | 0

| aceptada

Respondida
exporting strings out of structure into a vector
Your Img_info variable is storing only the information of the last (nop-th) image, since it is outside the for loop.

casi 11 años hace | 1

Respondida
If loop giving me troubles
I agree with the previous comments. However, your problem is with the inappropriate use of assignment operator in the if-else l...

casi 11 años hace | 0

| aceptada