Description:
The MathWorks calculation and visualization package.
|
|
|
solving a linear system of inequalities
|
| |
Let A=[1 -2 1 3 1;-1 1/2 -3 2 3;1 1 1 -3 -4;1 -3 2 2 4;-3 1 -2 1 2;3 0 -3 1 2] and b=[0;0;0;0;0] Ax >= b How do I solve this in Matlab? I know how to solve if these are equalities, but not for inequalities. Thank you so much!
|
|
reading a value in a string
|
| |
lets say I got a string C = "this is for testing1", how do I get that value 1 in that string into an integer? I know I can find the length(C) then what? There's fgets and fread but I don't know how to setup those functions up to find that value 1 at the end of that string.
|
|
Problem reading non-ASCII text file
|
| |
Hi, I have a text file with some non-ASCII encoding (some unknown UTF variant). When I try to open the file with some of the non-standard encodings (e.g., 'cp862' or 'ISO_8859-8') I get a warning that the encoding is not supported, although it's in the official list of IANA character sets referenced in fopen's doc page.... more »
|
|
negative value pixel
|
| |
Hello, We are working on a project, our project is motion detection, currently we are working on image differences when subtract images I get - values but matlab does not show that. I need to find it to calculate the distance between the first location and the second location of the object. How can i represent the (-) values . I am using he function [p,thresh]=edge(f,'canny'), to find the edges. then middle point. - pixels shows up black so the subtracted image is blank.... more »
|
|
compiler
|
| |
Hi, I have Intel Visual Fortran 10.1 with MS Visual Studio 8.0 . When I use mex -setup, my compiler does not show up. What can I do to fix this problem? Thanks
|
|
fortran compiler
|
| |
Hi, I have Intel Visual Fortran with Visual Studio 8. When I use the option mex -setup , my compiler does not show up. What should I do? Thanks
|
|
contour lenght
|
| |
Hi, I am working with contour data (X,Y) and I try to find the contour lengths and at the end I want to plot a diagram which shows the lengths (vertical axis) and contour heights (hor. axis), my working data is as below, in the first row there are contour height(1,1) and number of points on contour (1,2), and then it goes as. How can I calculate the S(lengths) on each contour. Could you help me, please?... more »
|
|
colorbar on contour plot has weird orientation
|
| |
Hi, I have three contour subplots with a single common colorbar saved as a fig file. When I open the figure with the property editor I can change the colormap. The colors change smoothly on all three plots and the colorbar. BUT, the colors in my horizontal colorbar now show up vertically, i.e. as though a vertical colorbar was squished and stretched into the horizontal box. The colorbar scale numbers also get moved from the bottom to the left axis, where they are squished on top of each other.... more »
|
|
|