Risposto
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

quasi 11 anni fa | 0

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

quasi 11 anni fa | 0

| accettato

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

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

quasi 11 anni fa | 0

| accettato

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

quasi 11 anni fa | 1

| accettato

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

quasi 11 anni fa | 1

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

quasi 11 anni fa | 0

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

quasi 11 anni fa | 2

| accettato

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

quasi 11 anni fa | 0

| accettato

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

quasi 11 anni fa | 0

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

quasi 11 anni fa | 0

| accettato

Risposto
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

quasi 11 anni fa | 0

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

quasi 11 anni fa | 0

| accettato

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

quasi 11 anni fa | 0

| accettato

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

quasi 11 anni fa | 1

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

quasi 11 anni fa | 0

| accettato