photo

Iman Ansari


Last seen: meer dan 3 jaar ago Active since 2013

Followers: 0   Following: 0

Message

Statistics

All
MATLAB Answers

1 Question
107 Answers

Cody

0 Problems
75 Solutions

RANK
289
of 300.392

REPUTATION
305

CONTRIBUTIONS
1 Question
107 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
41

RANK
 of 20.934

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
8.679
of 168.373

CONTRIBUTIONS
0 Problems
75 Solutions

SCORE
760

NUMBER OF BADGES
2

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • First Review
  • 3 Month Streak
  • Knowledgeable Level 4
  • First Answer
  • Promoter
  • Solver

View badges

Feeds

View by

Question


A problem in using imhist to display histogram of indexed image
First i convert the image to an indexed image, and use only 5 colors to show what is my problem. clear img = imrea...

bijna 10 jaar ago | 1 answer | 1

1

answer

Answered
When i make simulation, the plot at workspace is different the plot at scope?? .. I want the plot at workspace same as the plot at scope
Hi Use simulation time vector to plot in command widow, maybe the simulation ran with variable steps. Something like this: ...

meer dan 10 jaar ago | 0

| accepted

Answered
use evalfis to read input under a range
In your code, input isn't same as [88 134 144]. They are logical (0,1): evalfis([88 134 144]) but: evalfis([0 1 1...

ongeveer 12 jaar ago | 0

| accepted

Answered
Open many files using uiopen or uigetfile
filename = uigetfile('*.*', 'All Files (*.*)','MultiSelect','on');

ongeveer 12 jaar ago | 1

| accepted

Answered
How to use find function in cell array
C = {100*rand(100,2);100*rand(100,2);100*rand(100,2)}; X = cellfun(@(x) find(x(:,1)<27),C,'Un',0);

meer dan 12 jaar ago | 0

Answered
A moving point plot in MATLAB figure with animation.
n = 50; XY = 10 * rand(2,n) - 5; for i=1:n plot(XY(1,i),XY(2,i),'or','MarkerSize',5,'MarkerFaceColor','r') ...

meer dan 12 jaar ago | 3

| accepted

Answered
Generate gaussian random points in 3D space with a given mean position.
m = [2 0 2]; s = 1; n = bsxfun(@plus,m,s.*randn(100,3)); plot3(n(:,1),n(:,2),n(:,3),'.r') M = mean(n,1) S =...

meer dan 12 jaar ago | 2

Answered
Write in Excel With Matlab on continues Cells
First put your data in a cell array then write it: rangT = 1:10; maximox = rand(10,10); fprintf('Select file locati...

meer dan 12 jaar ago | 0

| accepted

Answered
how to eliminate the error
@time ===> @times s1.coefs=bsxfun(@times,s1.coefs(:,1:end-1),s1.order:-1:1)

meer dan 12 jaar ago | 1

| accepted

Answered
how to draw a temperature distribution on (x,y,z)?
t defines color: [x y] = meshgrid(-10:0.1:10); z =zeros(size(x)); z(x+2*y>-9 & 2*x+y<9 & x-y>-10 & x-y<15) = 1; ...

meer dan 12 jaar ago | 0

Answered
Stor data in a vector
p_t2=1:1000 pt2=1:40 JJ=[]; for z=1:40 for v=1:25 XX=p_t2(v)./pt2; JJ=[JJ sum(XX)]; ...

meer dan 12 jaar ago | 0

| accepted

Answered
im trying to make array of images s1,s2,s3 and s4 and want to show them in different figures ........... what is wrong over there? .........
clear arr={s1,s2,s3,s4}; for i=1:4 b=imread(arr{i}); figure imshow(b); end

meer dan 12 jaar ago | 0

| accepted

Answered
how to use "if" statement properly?
A=rand(10,1); B=rand(10,1); z=B./A; z(z<1)=-1./z(z<1)

meer dan 12 jaar ago | 1

Answered
how to draw circles with different radii
n=10; X=rand(n,1)*10; Y=rand(n,1)*10; R=rand(n,1)*3; P=[0:0.1:2*pi 0]; xr=R*cos(P); yr=R*sin(P); X_C=bsxf...

meer dan 12 jaar ago | 1

Answered
inverse laplace transformation and plot of transfer function
Why residue(b,roots(a))? b=[0,-1.387778780781446e-017, -2.775557561562891e-017, 3.333333333333329e-005]; a=[1.0000000000...

meer dan 12 jaar ago | 0

| accepted

Answered
Getting element row and column (index location) out of a matrix?
Resultant=rand(10,10); [B,IX] = sort(Resultant(:),'descend') [r c] = ind2sub(size(Resultant),IX(1:5))

meer dan 12 jaar ago | 1

| accepted

Answered
histogram of 3D intensity image and normalize the intensity by linearly fitting the histogram to the ICBM-152
A=uint8(randi(256,256,124,256)-1); H1=imhist(A(:)); % Or %H2=histc(A(:),0:255); B=imread('cameraman.tif'); ...

meer dan 12 jaar ago | 0

Answered
Organize data as vector matrix and do calculation ?
lightV = zeros(1, 1, 3); lightV(1,1,1) = 0.5; lightV(1,1,2) = 0.4; lightV(1,1,3) = 0.7; [Az El] = meshgrid(0:60:36...

meer dan 12 jaar ago | 0

Answered
Howto arrange panels in desktop
After adding editor panel in position [1,2], drag workspace panel and drop it in right half of editor panel: <<http://snag.g...

meer dan 12 jaar ago | 0

| accepted

Answered
Export to a fixed width text file
A={'s09' 1111222003 321 'P' 'ehz';'z09' 1011222003 321 'O' 'edz'}; A=cellfun(@num2str,A,'Un',false) B=strcat(A(:,1),{' ...

meer dan 12 jaar ago | 0

Answered
horzcat error while using ' '
names=['john'; 'ravi'; 'mary'; 'xiao'] howdy=['10'; '20'; '30' ;'40'] result=[names repmat(' ',4,1) howdy]

meer dan 12 jaar ago | 0

| accepted

Answered
How to evaluate dirac function in matlab?
syms x; y=diff(dirac(x),x) subs(y,1)

meer dan 12 jaar ago | 1

Answered
Maclaurin Series function in matlab
function Maclaurin n=5; x=input('enter the x value: '); epsilon_s=(0.5*10^(2-n)); epsilon=100; maclaurin(1)=1; ...

meer dan 12 jaar ago | 0

Answered
Elementwise multiplication, function definition
[x, y] = meshgrid(linspace(0,400,400),linspace(0,30000,400)); A1 = -8.269000000000000; m1 = 2.071000000000000; m2...

meer dan 12 jaar ago | 0

| accepted

Answered
Failed to add uniform noise to the image
Hi. You don't need imnoise: round(128+0.2)=128 with 0.1 and 0.2 like you didn't add any noise. Uniform noise with zero m...

meer dan 12 jaar ago | 0

| accepted

Answered
could you fix these codes?
Hi. Use cell array: I=imread('moon.tif'); C=mat2cell(I(1:32,1:32),8*ones(1,4),8*ones(1,4)); imshow(C{5},'InitialMagni...

meer dan 12 jaar ago | 0

Answered
problem with ssim function
Hi. It's default window: window = fspecial('gaussian', 11, 1.5); If input images has smaller size than 11*11 (it's windo...

meer dan 12 jaar ago | 0

| accepted

Answered
Create an anonymous function after Symbolic differentiation
Hi. syms x f=@(x) x^3+3*x+1; g=diff(f(x)) h=@(y) subs(g,y)

meer dan 12 jaar ago | 0

Answered
Troubles with modeling step response in Simulink
Delete your Integrator block, you didn't define it in your code.

meer dan 12 jaar ago | 0

| accepted

Load more