MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader |
SEARCH Advanced Search Popular Tags: ... >> See all tags View All: Most Recent | Most Active | Needing Replies |
View Subject Only | |
Duration: All Time | Last Year | Last 30 Days | Last 7 Days | 1-25 of 446 || Next >> |
Message View |
Subject: I have a collection of date strings in the format: Tue Oct 21 11:24:04 EST 2014 I would like to convert them to seconds or some other numeric quantity so I can order them and perform calculations. This failed: datestr(datenum(b, 'd-mm-HH:MM:SS')) E >> more Original post by Chris Williams |
Subject: Hello all, I am trying to have access the x and y data of some points of my GUI plot using datacursormode. In the datacursormode docs, it says that c_info is a structure array including coordinates of all points selected by cursor. I have tried the follo >> more Original post by Maryam |
Subject: Hi, I want to get numbers from a file, one example line in the file is as: TS:123456 Rec:0001 Tag:0002 Data: 20 00 63 The code I have is : fid = fopen('1.txt','r'); tline = fgets(fid); C = strsplit(tline) C(1) Timestamp = sscanf(C(1),'TS:%f',[1 Inf]) >> more Original post by Edgar |
Subject: I am doing some crazy operations with fractions, and when I obtain the final result, it is stored as a vector of elements for the result as opposed to a whole number. i.e. output = [ 1, 4, 6] when the output should be: 641 so it also puts them in the r >> more Original post by Scott |
Subject: I am importing a shapefile into Matlab (S) and I need to retrieve latitude and longitude coordinates (currently projected - Albers- in planar coordinates). From the projection file (.prj) the Stereographic North Pole projection and its parameters are the >> more Original post by Eric |
Subject: Hi all, I tried to get the numbers out of a file and got stuck. Here are the code: fid = fopen('60_vedio1.txt','r'); %type('60_vedio1.txt') tline = fgets(fid); C = strsplit(tline) C(1) Timestamp(i) = sscanf(C(1),'TS:%f',[1 Inf]) The output is: C = >> more Original post by Edgar |
Subject: Hi, I was trying to send some data to a com object at 921600 baud rate by means of serial communication. I made following observations 1) with a 32 bit OS, and Matlab R200b, there is no problem to write the data to the serial port and the communication wo >> more Original post by Titas Bera |
Subject: Hi. I want to make a big matrix (13000000*26). The value of each element is one of three values??: 0.91, 0.85, and 0.78. (matrix don't have any specific pattern) so I have to select single class but it take 4 bytes for any element, While the floating-p >> more Original post by night88 |
Subject: Hi I am trying to compute the eigenvalues for my PDE model. I can compute the solution using this solver. But can I compute the eigenvalues associated with the solution using this solver? Here is the code that I use to compute the solution of PDE: ---- >> more Original post by Zuhair |
Subject: Hi, I am trying to write a Mex routine that allows me to calculate the distance between two points in space using the equation: if A(x1,y1,z1) and B(x2,y2,z2) then the distance: D = sqrt ( (x1-x2)^2 + (y1-y2)^2 + (z1-z2)^2 ) my cod >> more Original post by Hazem |
Subject: Hello! I have to solve a system of non linear equalities and inequalities. First I used fsolve, but it only works with non linear equalities. So I found that to include also inequalities I should use fmincon. My system depends on the unknown vector "a" >> more Original post by Marty |
Subject: Hello all, I am a beginner to matlab and I am having issues with a code. The code is supposed to read all images in one folder and then write the images into a different folder. I am having issues with sprintf and issues with the imwrite function. Please >> more Original post by Bryce |
Subject: I have a matrix a=[1 2 3 4; 2 3 4 5; 7 8 9 10] I am interested in finding the product of the first 2 coloumns of 'a' and store it as a first col in a new matrix c and product of 3rd 4th col of 'a' will be the 2nd col in c For example in this case, i >> more Original post by Manasa Gudimella |
Subject: Hello, I am having a issue using cell2dataset. Here is a sample of the data in the format of a cell array: TempData = [ 0] '10002051' [ 3515] '' [NaN] [ 0] '10002052' [ 1281] '' [NaN] [ 0] '10002053' [ 1173 >> more Original post by Kevin Ellis |
Subject: Hello everyone, for some days I am trying to find a useful way how to plot a bigger amount of data. I have XY map vs time data (from Raman), which I already managed to converted to a 32x5x69 matrix. Now, is there a way to contour(f) plot all XY (32x5) ma >> more Original post by Chris |
Subject: can anyone help me! I have an object, and I separated the boundary of this object. Then I wanna find 9 points on this boundary, but it isn't like my expectation. Can anyone help me find 9 points on this boundary that it is the same with my object! Thank >> more Original post by Manh Cuong Bui |
Subject: Hey people, I tried out 2014b today (Linux version), having high hopes for the new graphics engine. Quick initial impressions aren't great. Good thing: the plots look better on screen. Bad thing: it's deathly slowly for even moderately complicated line p >> more Original post by Rob Campbell |
Subject: I want to import a column with positive and negative values from xls to matlab and plot it. However, matlab plots all the values as positive. How can I solve this problem? Thanks! Original post by Darina |
Subject: hi. I have to compute a gradient magnitudes for a 3-D image. for example in 2-D image : h = fspecial ( 'sobel' ) diff = abs ( imfilter(Image, h, 'replicate') ) how can construct a >> more Original post by night88 |
Subject: Hi. I am having trouble with the fsolve function. When I do examples using the fsolve function that are provided on the mathworks, I dont have any issues when the program is run. I am looking for a vector s returned back that will minimize the nonlinear s >> more Original post by cassie |
Subject: Hi All I am receiving data from ports using UDP and fread I am converting single array to byte and sending it to matlab I wonder how to convert that byte array to single vector . Thanku for any help Original post by Huzaifa Mir |
Subject: Hello, I am trying to make a cam component in simscape. A cam has a fixed relation between the input shaft angle (phi_in) and the output shaft angle (phi_out). It can be regarded as a sort of variable ratio transmission, where the transmission ratio is f >> more Original post by Diederik |
Subject: hi i'm trying to run mexopencv on matlab r2012b and ubuntu 14.04 , i was able to compile mex without problems but i cant use mex functions for example i tried running the following code resized_image = cv.resize(input_image, resize_factor); and got >> more Original post by Pedro |
Subject: Dear All, Please help me to solve my computing time problem which it's cumulative OR between two vectors (vector length is 300 int. element). I have binary matrix 100x300 and I search about sequence order of rows to get vector of all ones. my lines are >> more Original post by Mohamed |
Subject: HI, I had a problem with GUI callback. I did a very large GUI. Currently I am sorting my m-file code. I found a lot of unused callback which I can't delete them.(GUI will not work if I delete them). This callback(including CreateFcn) is for my deleted GUI >> more Original post by zwlovelxl@msn.com |
Post A New Message | 1-25 of 446 || Next >> |