October 19th, 2011, 02:38 AM

Do i to do transposing of matrix?

October 19th, 2011, 02:14 AM

Now I have totally changed the for loop as shown below:-

for (int S1=0;S1<=4;S1++){

for (int R=0;R<=8;R = R++){

myarr[5][9] = (float) rand()/(float) RAND_MAX;

October 19th, 2011, 12:39 AM

There was an error at the for loop too:-

for (int S1=0;S1<=8;S1 = S1 + 1){

for (int R=0;R<=8;R = R+1)

myarr[S1][R] = (double) rand()/(double) RAND_MAX;

z = myarr[S1][R];

October 18th, 2011, 11:19 PM

Now i have arranged the RandomFunction code to be within the main function as shown as below:-

int main()

{

srand( (unsigned)time( NULL ) );

int i, j;

October 18th, 2011, 10:40 PM

Hi D_Drmmr

Ur saying that the srand function can be called only in the main and not inside other functions?

Then how will i get the random numbers if the srand function is outside the...

October 18th, 2011, 05:38 AM

Hi community,

I having trouble in displaying on of my result in 9 X 9 matrix which suppose to do so.

I have commented on that line which suppose to produce the result.

October 4th, 2011, 11:10 AM

Hi,

I need help in acquiring 4 points floating value which I can seem to get. All i'm getting is 0.00000.

Here's the code :-

#include "mbed.h"

#include <stdio.h>

#include <stdlib.h>...

September 18th, 2011, 10:04 AM

Hi,

I need to convert the following MATLAB function into C++. I ad have some info on using the Matlab engine but I still can understand what it is doing....

function [Is] = ver_eq(I)

l =...

September 12th, 2011, 11:15 PM

Hi,

I'm developing an API which that will be embedded to a ARM micro controller. I was have the simulation version which is in .m or Matlab file. But it seems that I have to convert it into C++...

September 12th, 2011, 08:34 PM

Hi,

I need help in converting a few functions from matlab to VC++. Here's the code that I have done partially in C++ and some are still in MATLAB.

#include "mbed.h"

#include <stddef.h>...