Related news

Published: 14/03/2018I have 8528 .mat files in a folder, and have to read, operation and write csv in each iteration. code would like to be: for i = 1:8528 record_raw = load(['training2017/A0' num2str(i, '%04u') '.mat']); ... Read moreSource: stackoverflow.com


Published: 14/03/2018I tried to install MATLAB R2017b runtime Python 3.6 on to my ubuntu 16.4. As per the instruction that given in matlab community python installer ( setup.py ) should be in ../../v93/extern/engines/pyth ... Read moreSource: stackoverflow.com

Published: 14/03/2018I am trying to calculate a limit operation of a function inside. Here is what I did: x = 0; f = (cos(x)*cos(h/2)*sin(h/2))/(h/2)  (sin(x)*sin(h/2)*sin(h/2))/(h/2); limit(f,h,0) ans = 1 limit(f,h,1) a ... Read moreSource: stackoverflow.com

Published: 14/03/2018Suppose, we have a A = [3 4 5; 7 1 4] . I want to make it as [0 0 1; 1 0 0] . I tried this: maxa = max(A(:)); A(A==maxa) = 1 ; This is replacing only maximum value of matrix by one. I need maximum val ... Read moreSource: stackoverflow.com

Published: 14/03/2018I am working on dress feature identification using opencv. As a first step, I need to segment tshirt by removing face and hands from the image. Any suggestion is appreciated. Read moreSource: stackoverflow.com

Published: 14/03/2018Im having a problem connecting my Lego ev3 kit with matlab using usb and bluetooth and have been looking for a solution from a week can anyone help me out of this? Read moreSource: stackoverflow.com

Published: 14/03/2018internal halving method for single variable optimization Read moreSource: www.mathworks.com

Published: 14/03/2018My problem is the following: I have very many (~1000) mutually calling Matlab scripts, which are very poorly written, regularly damage each other's environments and generally became unmanageable. One ... Read moreSource: stackoverflow.com

Published: 14/03/2018h=0.005; x = 0:h:40; y = zeros(1,length(x)); y(1) = 0; F_xy = ; for i=1:(length(x)1) k_1 = F_xy(x(i),y(i)); k_2 = F_xy(x(i)+0.5*h,y(i)+0.5*h*k_1); k_3 = F_xy((x(i)+0.5*h),(y(i)+0.5*h*k_2)); k_4 = F_x ... Read moreSource: stackoverflow.com

Published: 14/03/2018I have a time series signal (45 sensors connected to a gyroscope, ECG reader, Rotation axis and so on ...). I am looking for some noticeable features in one of these sensors. What I did, is first clea ... Read moreSource: stackoverflow.com

Published: 14/03/2018Consider a difference equation with its initial conditions. 5y(n) + y(n1)  3y(n2) = (1/5^n) u(n), n>=0 y(n1) = 2, y(n2) = 0 How can I determine y(n) in Matlab? Read moreSource: stackoverflow.com

Published: 14/03/2018I am plotting a figure in Matlab with multiple subplots. Below is one of the plots handaxes1=axes('position', [0.06 0.7 0.14 0.20]); I=shadedErrorBar( time(301:901), GrandAvg_Q_S_all30.avg(5,[301:901] ... Read moreSource: stackoverflow.com

Published: 13/03/2018I want to simulate a "game": start from a deck of n distinct cards, say a vector (1 2 ... n). Separate this in two equally large semidecks, maintaining the initial order; if n is odd, separate it like ... Read moreSource: stackoverflow.com

Published: 13/03/2018In the article reading face recognition, I read this sentence: "The corrected 3D face is further resampled with a uniform resolution of 1mm on the xy plane". I found it on the Internet and only found ... Read moreSource: stackoverflow.com

Published: 13/03/2018I want to do a comparison of 2 audio files (each audio file is speaking "ba a ta") with the existing function in matlab called Dynamic Time Warping (DTW). Before doing a dynamic time warping, I get an ... Read moreSource: stackoverflow.com

Published: 13/03/2018I have the following piece of code: nruns=100 nloops=2 zz=zeros(nloops,nruns); for wLoop=1:nloops delete(gcp('nocreate')); parpool(npools); parfor wRun=1:nruns zz(wLoop,wRun)=rand end end disp('done') ... Read moreSource: stackoverflow.com

Published: 13/03/2018I am taking two images using single moving camera. I tried to take them from same epipolar line. Then I compute disparity in Matlab. I1 = imread('4.jpg'); %right image I2 = imread('3.jpg'); %left imag ... Read moreSource: stackoverflow.com

Published: 13/03/2018I was trying to implement a simple multilayer neural net to solve the XOR, its just to learn how multilayer nets and weight updates works. I came up with the matlab code and its working fine and gets ... Read moreSource: stackoverflow.com
Comment