21 Unanswered Topics

Remove Filter
Member Avatar for
Member Avatar for Remy the cook

I applied neural network toolbox to create a multilayer feedforward network. The data is a huge csv file which maps to three outputs. data = load('Train.csv'); Input= data(1:31012,1:40); Output=data(1:31012,41); %net = newff(minmax(Input),[1000,1000,1000]); net = feedforwardnet(10,'trainlm'); view(net) y = net(Input); perf = perform(net,y,Output) but this code always gives this - "Empty …

0
139
Member Avatar for farazk86

I have an application thats has been coded in C#. After build it generates a standalone dll file and the exe file. I want to use this code in Matlab. I found out from [this](http://www.mathworks.co.uk/help/matlab/matlab_external/using-a-net-object.html#bshoa6b-1) page that I can load the C# classes or codes into Matlab. dll_in_matlab = NET.addAssembly('location …

0
142
Member Avatar for H_beginner

I am trying to plot a graph in matlab using c++. But the matlab is only giving me an empty graph. void portfolio::viewGraph() { double value[20]; //store portfolio value double time[20]; //store time int i=0,j=1; double cash,p; ifstream in_file("transactionhistory.txt", ios::in); string c; while(in_file>>cash>>p>>c>>c>>c>>c>>c) { value[i]=(p+cash); cout<<p<<endl; time[i]=j; cout<<time[i]<<endl; i++; j++; …

0
176
Member Avatar for Sonia11

I am in a small doubt of how to proceed to the next stage. 1. I have used im2col which basically turned gray-scale image into vector. 2. I have used the function vector quantization lbg algorithm which gave the VQ codebook as the output. I understand that the image I …

0
136
Member Avatar for neuro

Hello all!! I am new to MATLAB and am trying to do multidimensional scaling for some data I have. It is just a 24x24 correlation matrix and I keep getting an error message that it is not a square matrix, but it is!! I don't understand :/ I've been following …

0
120
Member Avatar for delta_frost

I have a variable x which varies from -160 to 160 through steps of 10. `x = -160:10:160;` I have a matrix T1 which is of the form ` cos(x) 0 +sin(x) 0.00; sin(x) 0 -cos(x) 0.00; 0.0000 1 0.00000 0.67; 0.0000 0 0.00000 1.00 ` How can that be …

0
131
Member Avatar for easmaa.salih

i am making program to read text by convert image of text into text but i have problem in the out because the text not in line but in column and i can't detect space between words . the code in matlab: load 'Charachters.mat'; str ={'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','1','2','3','4','5','6','7','8','9','0',' '}; f = imread('1.PNG'); …

0
111
Member Avatar for yemama.yemama

hi i need help in design scheduling in wimax network using matlab. is there anyone can help me?

0
126
Member Avatar for wnr78ta

I am writing a m-file that simply takes in a picture of a board with 27 LEDS on it and simply tells you which LED is lit up. My problem is with the calibration of the m-file. I am trying to use [x,y] = ginput(27) to have the user click …

0
104
Member Avatar for kgal

Hello, I am having difficulty writing a function file that produces an echo to a .wav recording I made. How do you create one? Thanks!

0
88
Member Avatar for SnehalBPatil

I am developing the Django application which runs the Matlab code and create some txt and png files on the server.when I run these below python command on server, it works fine but when I try to run from the server (it is coded in Viewspy).It shows file is updated.(from …

0
171
Member Avatar for solvesak

I am trying to color some alphabets in a string based on input alphabet given. suppose string: [B]AUSTRALIA[/B] INPUT: [B]A[/B] OUTPUT: [B][COLOR="Red"]A[/COLOR]USTR[COLOR="red"]A[/COLOR]LI[COLOR="red"]A[/COLOR][/B] Can anyone suggest me how to achieve it ? As m new to this.

0
163
Member Avatar for The physicist

Dear all, Perhaps a bit of random one, but does anyone have an experience of using the surface fitting toolbox in MATLAB? My specific problem is that I have fitted a polynomial to a surface which is a good fit in this instance (r squared >0.99); fitting using interpolant will …

0
88
Member Avatar for shouvik.d

[B]Product[/B]: [B][COLOR="Red"]Matlab, Simulink[/COLOR][/B] [B]Problem Statement[/B]: Complex feedback loops implying usage of Unit Delay Block. At certain simulation frame calculation of required values for test generation is becoming complex. Is there a way to override the Unit Delay block output without changing the model (as I am not allowed to do …

0
126
Member Avatar for ace8957

I am trying to solve a system of 5 equations in 5 unknowns. I am new to the Matlab language. I consulted the documentation and decided that the best way of doing this was to use the solve() function. However, this function does not appear to work properly for 5 …

0
109
Member Avatar for Improzigw

Hows it going guys, I just had a question, which I think is simple, but I cant seem to get my head around to the solution. I have a Signals Processing lab coming up on modulation and demodulation. Anyway to cut to the chase, one part of the system requires …

0
126
Member Avatar for imperialguy

Before proceeding further, my system configuration is as follows: Mac OS X 10.6.6 MATLAB 2010b ActiveState Python 2.7 I have a gui built using matlab. I wrote the following python script to open that matlab gui using pymatlab python module: [code]from pymatlab.matlab import MatlabSession session = MatlabSession() session.run('cd ~/ratter/ExperPort') session.run('addpath(genpath(pwd))') …

0
96
Member Avatar for apanimesh061

I have a .wav file .... I want to plot the Time-domain signal and then its Fast fourier transform (fft) using the matlab commands. Please Help ... ! :) Thanx

0
79
Member Avatar for millionfires

hey i am trying to implement the diffie hellman key exchange algorithm in matlab. my problem is this: the program works just fine for numbers upto 5 digits, but after that it just sort of stops working. thing is i need to deal (multiply,exponentiation,modular arith etc.) with really big numbers …

0
93
Member Avatar for SerogaM

I want change file from JPEG to tiff and no use any compression change image size : the code I wrote is:[CODE] f=imread('source_image.jpg'); figure(1) imshow(f) imwrite(f,'new_tif_image_file.tif','compression','none','resolution',... [100 80]) g=imread('new_tif_image_file.tif'); figure(2) imshow(g) [/CODE] ~~after all these done I look at two images and they look same... what problem in this code?

0
72
Member Avatar for SerogaM

Are the any problems use JPEG files in matlab ,I try type this code and get an error [CODE]imwrite(f,'filename.jpg','quality',25)[/CODE],after (reading matlabs help) that gives same answer I don't know what to do the same problem comes uo when I try use function [COLOR="Red"]imshow(f)[/COLOR] where "f" is a file with extension …

0
80

The End.