photo

Majid Farzaneh


Media Engineering Department, I.R.I.B. University

Last seen: 3개월 전 2018년부터 활동

Followers: 2   Following: 0

메시지

Master of Science.

통계학

All
  • Knowledgeable Level 3
  • Knowledgeable Level 2
  • Introduction to MATLAB Master
  • Likeable
  • Personal Best Downloads Level 4
  • 5-Star Galaxy Level 5
  • Famous
  • First Review
  • First Submission
  • Community Group Solver
  • Quiz Master
  • Draw Letters

배지 보기

Feeds

보기 기준

답변 있음
Having error: 'emlc:compilationError' when using command('coder.checkGpuInstall('gpu','codegen','cudnn','quiet');')
I just solved the problem. You need to first install visual studio 2015 or later (including C++). Then type this in the comma...

3년 초과 전 | 2

답변 있음
how use immse between two color images
Hi Yusuf, You can calculate MSE and PSNR between 2 rgb images A and B like this: MeanSquareError=immse(A,B) PeakSignaltoNoise...

4년 초과 전 | 1

| 수락됨

답변 있음
how to make a plot
Hi, you can use this: figure, plot(V,Fa,'-o') hold on plot(V,Fb,'-*') plot(V,Fc,'-^') legend('Fa','Fb','Fc')

5년 초과 전 | 1

| 수락됨

답변 있음
how can save all variables which are in function without deleting previous one ?
Hi. You can make a string in each run for your function and then use the string for your file name. for example you may use a g...

5년 초과 전 | 2

| 수락됨

답변 있음
Error in following code while converting cell to matrix
Hi, you can do it like this: V = {load('db1.mat'),load('db2.mat'),load('db3.mat'),load('db4.mat')}; n = cellfun(@field...

대략 6년 전 | 1

답변 있음
How to crop only selected part of an image automatically?
Hi It works. But you have used imresize and have changed the segments. Also your threshold for segments sizes (200) may be larg...

대략 6년 전 | 1

| 수락됨

답변 있음
matlab read only first letter from string
Hi, You should use a function to read your data like: M = csvread(filename) In your code formatspec = 'f%dK.csv';...

대략 6년 전 | 1

답변 있음
My code is showing error " matrix dimension must agree".In line no -4 (2nd function:function [res_img]=Gray_trans_S_curve_uint16(xyz))-nrm_val= (xyz)- mn1;.output of the 1st function will be used in 2nd function.1st fn :function Res=Local_Process_uin
If your input is an image it's incorrect to use it like this: Res=Local_Process_uint16_mymod('mrimage.bmp',40,40) 'mrima...

대략 6년 전 | 2

| 수락됨

답변 있음
Saving a value from matrix B, indexed by matrix A
Hi, you can use a *for loop* for B like this: for i=1:numel(B) ... end Then, determine the index by A, like this...

대략 6년 전 | 1

| 수락됨

답변 있음
Artificial Neural Network code for this dataset?
Hi, you can use something like this: I=xlsread('forneuralnetworkdataset.xls'); inputs=I(:,1:3)'; targets=I(:,4)'; ...

대략 6년 전 | 2

| 수락됨

답변 있음
how to plot a factorial with variable please help!
Hi, This will work: syms n; f(n) = 1-factorial(3000-n)./factorial(2990-n)./(3000^10); range = linspace(1,2990,2990)...

대략 6년 전 | 2

| 수락됨

답변 있음
How to change input size of neural network from 3d to 2d?
Hi, You can use the gray-scale image instead of RGB image. Use this command to make gray-scale from RGB: Ig=rgb2gray(I) ...

대략 6년 전 | 1

답변 있음
How to use Num2str?
Hi, Don't use space between num2str and '('. This will work: disp (['Iteration ' num2str(it) ': Best cost = ' num2str(Bes...

대략 6년 전 | 1

| 수락됨

답변 있음
How to dynamically create and update a legend ?
Hi, You don't have to create legend dynamically, Do it out of loop like this: for h=1:5; filename = sprintf('file...

대략 6년 전 | 2

| 수락됨

답변 있음
Matrix number of rows reduction to a smaller number of rows.
Use this: % A is your input matrix and B is squeezed matrix for i=1:n idx=find(i==A(:,1)); B(i,:)=mean(A(idx,...

대략 6년 전 | 1

| 수락됨

답변 있음
In a FeedForward NNet, what exactly is one iteration?
Hello, In every neural network there is an optimization algorithm to set optimum weights and biases; and optimization algorithm...

대략 6년 전 | 1

| 수락됨

답변 있음
How to fix this loop to get the desired output ?
Hi, New_Td = [4,1,1] for t = New_Td duplicate=[]; for b = 1:t duplicate(b) = 0; ...

대략 6년 전 | 1

| 수락됨

답변 있음
Index exceeded matrix dimensions
Hi, _[filename = sprintf('%s_%d', 'Month', i);]_ makes a string like this: _Month_1_ Then you have used _filename(:,12)_ a...

대략 6년 전 | 1

| 수락됨

답변 있음
How do I minimize a function
Hi, You can use genetic algorithm (ga) like this: [x, Fval]=ga(@(x) your_fcn(x), N) N is number of variables in your f...

대략 6년 전 | 1

| 수락됨

답변 있음
How to train a time series dataset ?
The attached file may help you.

대략 6년 전 | 1

| 수락됨

답변 있음
How to train a time series dataset ?
Hi, what's your purpose for training this data? A neural network can predict something for you. For example you can train the n...

대략 6년 전 | 0

답변 있음
Generating discrete values in simulink
Hi, You can use Constant block and set the constant value to 0:0.001:1 but if c is time for you and you want to show the output...

대략 6년 전 | 1

| 수락됨

답변 있음
How can i group some vectors by the last value ?
Hi, it's all you want: data = [-3 1 0; -3 3 1; -2 1 0; -2 4 1; -1 3 1; ...

대략 6년 전 | 2

| 수락됨

답변 있음
how to read multiple sheets (Tab) data and save it in a single matrix?
Hi, I hope this can help you: [~,SheetNames] = xlsfinfo('Yr00.xlsx'); nSheets = length(SheetNames); Data=[]; fo...

대략 6년 전 | 3

| 수락됨

답변 있음
2 different for loops at the same time ?
Hi, It's better use size(A,1) _[for number of rows]_ or size(A,2) _[for number of columns]_ instead of length(A). Because it's...

대략 6년 전 | 2

답변 있음
finding the index of row
Hi. Use this: index=find(y==37.7495) Your result is null because you have only one row and you are searching in all row...

대략 6년 전 | 1

답변 있음
Numerically stable implementation of sin(y*atan(x))/x
Hi, You can easily add an epsilon to x like this: sin(y*atan(x+eps))/(x+eps)

대략 6년 전 | 1

답변 있음
How to display MR image of type double with Matlab ?
Hello, You can use this for resize image as [384,384]: I=imresize(inputImage,[384,384]); imshow(I); but if your imag...

대략 6년 전 | 1

답변 있음
How can I define f for 0=<x=<1000? I know that we can say x=[0:increment:1000], but I am looking for something that can be defined as continuous form of f rather than discrete points.
Hi, There is no way to define something continues in computer. All the signals store as discrete. Because a continues signal has...

대략 6년 전 | 1